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
commit 672eba9a5e
1 changed files with 1 additions and 1 deletions

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