summaryrefslogtreecommitdiff
path: root/openstackclient/tests/compute/v2
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-03-08 20:48:58 +0800
committerTang Chen <chen.tang@easystack.cn>2016-03-08 20:48:58 +0800
commit11c253ca1925fa8cf7fac1453cd957f9ba0c44fd (patch)
tree880be6e5967231f7996c09d3d061125c97dfb3c9 /openstackclient/tests/compute/v2
parent752705ae307e0bf53d4282120009bf3d155da137 (diff)
downloadpython-openstackclient-11c253ca1925fa8cf7fac1453cd957f9ba0c44fd.tar.gz
Trivial: Fix incorrect comments in compute fakes.py
Change-Id: I18b1720af13b444527dda1ecab52e3cc8d8d9376
Diffstat (limited to 'openstackclient/tests/compute/v2')
-rw-r--r--openstackclient/tests/compute/v2/fakes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/tests/compute/v2/fakes.py b/openstackclient/tests/compute/v2/fakes.py
index 32d257f1..f735fe42 100644
--- a/openstackclient/tests/compute/v2/fakes.py
+++ b/openstackclient/tests/compute/v2/fakes.py
@@ -636,14 +636,14 @@ class FakeKeypair(object):
@staticmethod
def create_keypairs(attrs=None, count=2):
- """Create multiple fake flavors.
+ """Create multiple fake keypairs.
:param Dictionary attrs:
A dictionary with all attributes
:param int count:
- The number of flavors to fake
+ The number of keypairs to fake
:return:
- A list of FakeFlavorResource objects faking the flavors
+ A list of FakeResource objects faking the keypairs
"""
keypairs = []