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
@ -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…
x
Reference in New Issue
Block a user