summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorjiahui.qiang <jiahui.qiang@easystack.cn>2016-11-27 06:18:00 +0800
committerjiahui.qiang <jiahui.qiang@easystack.cn>2016-11-27 06:18:00 +0800
commitdc1d510350172b182720eff8d60b579a6d59d016 (patch)
tree8cc79ff32f842d5ddf26cd1316862422344e9b2a /openstackclient
parente05c8d7bb04f477797e46e5728e93a35c104809a (diff)
downloadpython-openstackclient-dc1d510350172b182720eff8d60b579a6d59d016.tar.gz
Fix description errors in volume fakes
In volumev2 fakes.py. Description of some 'get_*' methods is incorrect. the error will mislead the user. this patch has already fixed it. Change-Id: I048e3c2b625c7b54ab19f2b923d4970427f277ff
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/tests/unit/volume/v2/fakes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/tests/unit/volume/v2/fakes.py b/openstackclient/tests/unit/volume/v2/fakes.py
index 3137bfb0..d5cd72ec 100644
--- a/openstackclient/tests/unit/volume/v2/fakes.py
+++ b/openstackclient/tests/unit/volume/v2/fakes.py
@@ -480,7 +480,7 @@ class FakeBackup(object):
If backups list is provided, then initialize the Mock object with the
list. Otherwise create one.
- :param List volumes:
+ :param List backups:
A list of FakeResource objects faking backups
:param Integer count:
The number of backups to be faked
@@ -764,7 +764,7 @@ class FakeQos(object):
If qoses list is provided, then initialize the Mock object with the
list. Otherwise create one.
- :param List volumes:
+ :param List qoses:
A list of FakeResource objects faking qoses
:param Integer count:
The number of qoses to be faked
@@ -837,7 +837,7 @@ class FakeSnapshot(object):
If snapshots list is provided, then initialize the Mock object with the
list. Otherwise create one.
- :param List volumes:
+ :param List snapshots:
A list of FakeResource objects faking snapshots
:param Integer count:
The number of snapshots to be faked