Merge "Add cleanup to TestCase.flags()"

This commit is contained in:
Zuul
2017-11-27 19:01:33 +00:00
committed by Gerrit Code Review

View File

@@ -324,7 +324,7 @@ class TestCase(testtools.TestCase):
"""Override CONF variables for a test."""
group = kw.pop('group', None)
for k, v in kw.items():
CONF.set_override(k, v, group)
self.override_config(k, v, group)
def start_service(self, name, host=None, **kwargs):
host = host if host else uuid.uuid4().hex