Typo - nova CLI deprecation warning
Change-Id: I1e604867bd00d51caebcb049777bbc675a398969
This commit is contained in:
parent
67caa10401
commit
e464940f39
@ -824,7 +824,7 @@ def main(argv=sys.argv[1:]):
|
|||||||
if os.environ.get("NOVACLIENT_ISHOULDNTBEDOINGTHIS") != "1":
|
if os.environ.get("NOVACLIENT_ISHOULDNTBEDOINGTHIS") != "1":
|
||||||
print(
|
print(
|
||||||
_(
|
_(
|
||||||
"nova CLI is deprecated and will be a removed in a future "
|
"nova CLI is deprecated and will be removed in a future "
|
||||||
"release"
|
"release"
|
||||||
),
|
),
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
|
@ -631,7 +631,7 @@ class ShellTest(utils.TestCase):
|
|||||||
)
|
)
|
||||||
# We also expect to see the deprecation warning
|
# We also expect to see the deprecation warning
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'nova CLI is deprecated and will be a removed in a future release',
|
'nova CLI is deprecated and will be removed in a future release',
|
||||||
sys.stderr.getvalue(),
|
sys.stderr.getvalue(),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -769,7 +769,7 @@ class ShellTest(utils.TestCase):
|
|||||||
self.assertIn('ERROR (MyException): message\n', err)
|
self.assertIn('ERROR (MyException): message\n', err)
|
||||||
# We also expect to see the deprecation warning
|
# We also expect to see the deprecation warning
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
'nova CLI is deprecated and will be a removed in a future release',
|
'nova CLI is deprecated and will be removed in a future release',
|
||||||
err,
|
err,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user