summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit
diff options
context:
space:
mode:
authorAnne Gentle <agentle@cisco.com>2016-10-24 10:55:10 +0200
committerSteve Martinelli <s.martinelli@gmail.com>2016-10-25 08:51:20 +0200
commit5055074db00f75285034c056b631d85f42cd9086 (patch)
treec4f4eee09274ed082ada3184e9f7c620f85ee734 /openstackclient/tests/unit
parentbe9306f1d4ad8aedbbe2470163ff3dd9566e7a00 (diff)
downloadpython-openstackclient-5055074db00f75285034c056b631d85f42cd9086.tar.gz
Adds information about private key generation for instance access
- Also updated the help text in the command itself. Change-Id: Ib3d4f94ef415a3f12024d0d7c000d2de20de001b Partial-Bug: 1549410
Diffstat (limited to 'openstackclient/tests/unit')
-rw-r--r--openstackclient/tests/unit/compute/v2/test_keypair.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstackclient/tests/unit/compute/v2/test_keypair.py b/openstackclient/tests/unit/compute/v2/test_keypair.py
index cb008545..efc5463c 100644
--- a/openstackclient/tests/unit/compute/v2/test_keypair.py
+++ b/openstackclient/tests/unit/compute/v2/test_keypair.py
@@ -179,8 +179,7 @@ class TestKeypairDelete(TestKeypair):
self.cmd.take_action(parsed_args)
self.fail('CommandError should be raised.')
except exceptions.CommandError as e:
- self.assertEqual('1 of 2 public keys failed to delete.',
- str(e))
+ self.assertEqual('1 of 2 keys failed to delete.', str(e))
find_mock.assert_any_call(
self.keypairs_mock, self.keypairs[0].name)