summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wlazlo <david.wlazlo@unimelb.edu.au>2023-05-17 11:41:41 +1000
committerDavid Wlazlo <dwlazlo@mykolab.com>2023-05-17 12:21:29 +1000
commite464940f39d1643128c9cef0b92e02c3d0e754c7 (patch)
tree0c2d851e8329af67fc2e0bbdf1c9944cbae83a36
parent67caa10401cd5112f9e3876a6f8dd7d16d69ef6b (diff)
downloadpython-novaclient-e464940f39d1643128c9cef0b92e02c3d0e754c7.tar.gz
Typo - nova CLI deprecation warningHEADmaster
Change-Id: I1e604867bd00d51caebcb049777bbc675a398969
-rw-r--r--novaclient/shell.py2
-rw-r--r--novaclient/tests/unit/test_shell.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/novaclient/shell.py b/novaclient/shell.py
index 468e889b..adb8b4dc 100644
--- a/novaclient/shell.py
+++ b/novaclient/shell.py
@@ -824,7 +824,7 @@ def main(argv=sys.argv[1:]):
if os.environ.get("NOVACLIENT_ISHOULDNTBEDOINGTHIS") != "1":
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"
),
file=sys.stderr,
diff --git a/novaclient/tests/unit/test_shell.py b/novaclient/tests/unit/test_shell.py
index f46d0ad6..41544075 100644
--- a/novaclient/tests/unit/test_shell.py
+++ b/novaclient/tests/unit/test_shell.py
@@ -631,7 +631,7 @@ class ShellTest(utils.TestCase):
)
# We also expect to see the deprecation warning
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(),
)
@@ -769,7 +769,7 @@ class ShellTest(utils.TestCase):
self.assertIn('ERROR (MyException): message\n', err)
# We also expect to see the deprecation warning
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,
)