From dc1d510350172b182720eff8d60b579a6d59d016 Mon Sep 17 00:00:00 2001 From: "jiahui.qiang" Date: Sun, 27 Nov 2016 06:18:00 +0800 Subject: [PATCH] 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 --- openstackclient/tests/unit/volume/v2/fakes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openstackclient/tests/unit/volume/v2/fakes.py b/openstackclient/tests/unit/volume/v2/fakes.py index 3137bfb012..d5cd72ecce 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