summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Brandily <zzelle@gmail.com>2016-04-06 00:35:57 +0200
committerCedric Brandily <zzelle@gmail.com>2016-04-06 00:40:44 +0200
commit139a45bb71ca2e99b0c8947c43c8d0165dec165e (patch)
tree964782dc16191fb37b6646f90c6eb2b1e36956be
parent97492c168f395eb80009162eb2e242dde23e0ba5 (diff)
downloadpython-openstackclient-139a45bb71ca2e99b0c8947c43c8d0165dec165e.tar.gz
Remove unused method cleanup_tmpfile
This change removes unused cleanup_tmpfile method from functests code. Change-Id: I5d8e7edb0e50e94a5a469ce393d411b390b4db34
-rw-r--r--functional/common/test.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/functional/common/test.py b/functional/common/test.py
index 1e767af8..810c4e43 100644
--- a/functional/common/test.py
+++ b/functional/common/test.py
@@ -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: