Merge "Add cleanup to TestCase.flags()"
This commit is contained in:
commit
672eba9a5e
@ -324,7 +324,7 @@ class TestCase(testtools.TestCase):
|
|||||||
"""Override CONF variables for a test."""
|
"""Override CONF variables for a test."""
|
||||||
group = kw.pop('group', None)
|
group = kw.pop('group', None)
|
||||||
for k, v in kw.items():
|
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):
|
def start_service(self, name, host=None, **kwargs):
|
||||||
host = host if host else uuid.uuid4().hex
|
host = host if host else uuid.uuid4().hex
|
||||||
|
Loading…
Reference in New Issue
Block a user