Add a fix / workaround for occasional test failure which happens because
of cross test pollution when two conflicting tests run during the same
test run.
@@ -67,8 +67,11 @@ def mock_get_logging_config_path():
class ServiceSetupTestCase(CleanFilesTestCase):
- def test_no_logging_config_found(self):
+ def setUp(self):
+ cfg.CONF.reset()
+ config.reset()
+ def test_no_logging_config_found(self):
config.get_logging_config_path = mock_get_logging_config_path
if six.PY3:
