summaryrefslogtreecommitdiff
path: root/novaclient/tests/functional/v2/legacy/test_readonly_nova.py
diff options
context:
space:
mode:
Diffstat (limited to 'novaclient/tests/functional/v2/legacy/test_readonly_nova.py')
-rw-r--r--novaclient/tests/functional/v2/legacy/test_readonly_nova.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/novaclient/tests/functional/v2/legacy/test_readonly_nova.py b/novaclient/tests/functional/v2/legacy/test_readonly_nova.py
index a91188b8..57d4107a 100644
--- a/novaclient/tests/functional/v2/legacy/test_readonly_nova.py
+++ b/novaclient/tests/functional/v2/legacy/test_readonly_nova.py
@@ -91,11 +91,19 @@ class SimpleReadOnlyNovaClientTest(base.ClientTestBase):
self.assertIn(
"This resource is no longer available. "
"No forwarding address is given. (HTTP 410)", str(ex))
+ self.assertIn(
+ "This command has been deprecated since 23.0.0 Wallaby Release "
+ "and will be removed in the first major release "
+ "after the Nova server 24.0.0 X release.", str(ex.stderr))
ex = self.assertRaises(exceptions.CommandFailed,
self.nova, 'agent-list', flags='--debug')
self.assertIn(
"This resource is no longer available. "
"No forwarding address is given. (HTTP 410)", str(ex))
+ self.assertIn(
+ "This command has been deprecated since 23.0.0 Wallaby Release "
+ "and will be removed in the first major release "
+ "after the Nova server 24.0.0 X release.", str(ex.stderr))
def test_migration_list(self):
self.nova('migration-list')