diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2021-07-16 12:37:24 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2021-07-29 16:36:38 +0100 |
commit | 538e0a23abd8dfb7a2fe4a47655e759a50138b13 (patch) | |
tree | a0323e610b203dad61d1eca6420a2e661ac99415 /oslo_db/tests/utils.py | |
parent | 73e376d2fd5c96a9a3ddd1aea43197f82dd767c2 (diff) | |
download | oslo-db-538e0a23abd8dfb7a2fe4a47655e759a50138b13.tar.gz |
tests: Enfeeble 'oslo_db.tests.utils.BaseTestCase'
We have quite a few base test classes in use. Start fixing these by
removing the logic from one of these. We will remove the class entirely
in a future change.
Change-Id: I6dae26aeb4b2a5cc4f39ed637807a27e44d40025
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'oslo_db/tests/utils.py')
-rw-r--r-- | oslo_db/tests/utils.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/oslo_db/tests/utils.py b/oslo_db/tests/utils.py index c7e1e1f..853f983 100644 --- a/oslo_db/tests/utils.py +++ b/oslo_db/tests/utils.py @@ -15,7 +15,6 @@ import contextlib -from oslo_config import cfg from oslotest import base as test_base @@ -25,8 +24,6 @@ def nested(*contexts): yield [stack.enter_context(c) for c in contexts] +# TODO(stephenfin): Remove as this is no longer necessary class BaseTestCase(test_base.BaseTestCase): - def setUp(self, conf=cfg.CONF): - super(BaseTestCase, self).setUp() - self.conf = conf - self.addCleanup(self.conf.reset) + pass |