diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-10-07 09:28:50 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-10-07 09:28:50 +0000 |
commit | 26323eb9906427c32faad457389849e36766bd40 (patch) | |
tree | 0307abdae41ca3be15c397ae01e182c1688a52e8 | |
parent | 482d357607bcf39a344ba253a9467bde0435dc4e (diff) | |
parent | 0915a0026bbaecc95e0b414576a182d6492a7680 (diff) | |
download | tempest-lib-26323eb9906427c32faad457389849e36766bd40.tar.gz |
Merge "Remove unused method and variable in base.py"
-rw-r--r-- | tempest_lib/base.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tempest_lib/base.py b/tempest_lib/base.py index d3729ed..03e5da3 100644 --- a/tempest_lib/base.py +++ b/tempest_lib/base.py @@ -39,15 +39,6 @@ else: unittest2.TestCase): pass -at_exit_set = set() - - -def validate_tearDownClass(): - if at_exit_set: - LOG.error("tearDownClass does not call the super's " - "tearDownClass in these classes: \n" - + str(at_exit_set)) - class BaseTestCase(BaseDeps): setUpClassCalled = False @@ -66,7 +57,6 @@ class BaseTestCase(BaseDeps): @classmethod def tearDownClass(cls): - at_exit_set.discard(cls) if hasattr(super(BaseTestCase, cls), 'tearDownClass'): super(BaseTestCase, cls).tearDownClass() @@ -76,7 +66,6 @@ class BaseTestCase(BaseDeps): raise RuntimeError("setUpClass does not calls the super's" "setUpClass in the " + self.__class__.__name__) - at_exit_set.add(self.__class__) test_timeout = os.environ.get('OS_TEST_TIMEOUT', 0) try: test_timeout = int(test_timeout) |