Skip to content

Commit dc1d510

Browse files
author
jiahui.qiang
committed
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
1 parent e05c8d7 commit dc1d510

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • openstackclient/tests/unit/volume/v2

openstackclient/tests/unit/volume/v2/fakes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def get_backups(backups=None, count=2):
480480
If backups list is provided, then initialize the Mock object with the
481481
list. Otherwise create one.
482482
483-
:param List volumes:
483+
:param List backups:
484484
A list of FakeResource objects faking backups
485485
:param Integer count:
486486
The number of backups to be faked
@@ -764,7 +764,7 @@ def get_qoses(qoses=None, count=2):
764764
If qoses list is provided, then initialize the Mock object with the
765765
list. Otherwise create one.
766766
767-
:param List volumes:
767+
:param List qoses:
768768
A list of FakeResource objects faking qoses
769769
:param Integer count:
770770
The number of qoses to be faked
@@ -837,7 +837,7 @@ def get_snapshots(snapshots=None, count=2):
837837
If snapshots list is provided, then initialize the Mock object with the
838838
list. Otherwise create one.
839839
840-
:param List volumes:
840+
:param List snapshots:
841841
A list of FakeResource objects faking snapshots
842842
:param Integer count:
843843
The number of snapshots to be faked

0 commit comments

Comments
 (0)