Use openstack common CLI
Change-Id: Ia013cafe7dfa3a54c86ff44e57f98d64b15b6a86
This commit is contained in:
parent
74cbf1b17b
commit
ca6190c3a1
@ -69,7 +69,8 @@ class TestCase(testtools.TestCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def watcher(cls, cmd, fail_ok=False):
|
def watcher(cls, cmd, fail_ok=False):
|
||||||
"""Executes watcherclient command for the given action."""
|
"""Executes watcherclient command for the given action."""
|
||||||
return execute('watcher --os-infra-optim-api-version {0} {1}'.format(
|
return execute(
|
||||||
|
'openstack optimize --os-infra-optim-api-version {0} {1}'.format(
|
||||||
cls.api_version, cmd), fail_ok=fail_ok)
|
cls.api_version, cmd), fail_ok=fail_ok)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user