mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Remove unused method cleanup_tmpfile
This change removes unused cleanup_tmpfile method from functests code. Change-Id: I5d8e7edb0e50e94a5a469ce393d411b390b4db34
This commit is contained in:
parent
97492c168f
commit
139a45bb71
1 changed files with 0 additions and 7 deletions
|
|
@ -76,13 +76,6 @@ class TestCase(testtools.TestCase):
|
|||
if expected not in actual:
|
||||
raise Exception(expected + ' not in ' + actual)
|
||||
|
||||
@classmethod
|
||||
def cleanup_tmpfile(cls, filename):
|
||||
try:
|
||||
os.remove(filename)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def assert_table_structure(self, items, field_names):
|
||||
"""Verify that all items have keys listed in field_names."""
|
||||
for item in items:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue