diff options
| author | gecong1973 <ge.cong@zte.com.cn> | 2016-07-04 16:36:43 +0800 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-07-04 15:15:23 +0000 |
| commit | 6115dfe9f85e0972a01d6d50a91a19096540505e (patch) | |
| tree | 058d34a28941456ef49ff8e910647c7b082d9936 /openstackclient/tests/volume | |
| parent | 605efe67111790ed4801fd5b75ff314d2353d625 (diff) | |
| download | python-openstackclient-6115dfe9f85e0972a01d6d50a91a19096540505e.tar.gz | |
fix a few spelling mistakes
- overwriten should be overwritten
- retrun should be return
Change-Id: I1567402f4d5c7253e6a54d8753e3f201af7e6a54
Diffstat (limited to 'openstackclient/tests/volume')
| -rw-r--r-- | openstackclient/tests/volume/v1/fakes.py | 4 | ||||
| -rw-r--r-- | openstackclient/tests/volume/v2/fakes.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/tests/volume/v1/fakes.py b/openstackclient/tests/volume/v1/fakes.py index 6c349866..2584d4b1 100644 --- a/openstackclient/tests/volume/v1/fakes.py +++ b/openstackclient/tests/volume/v1/fakes.py @@ -157,7 +157,7 @@ class FakeTransfer(object): :param Dictionary attrs: A dictionary with all attributes of Transfer Request - :retrun: + :return: A FakeResource object with volume_id, name, id. """ # Set default attribute @@ -207,7 +207,7 @@ class FakeService(object): :param Dictionary attrs: A dictionary with all attributes of service - :retrun: + :return: A FakeResource object with host, status, etc. """ # Set default attribute diff --git a/openstackclient/tests/volume/v2/fakes.py b/openstackclient/tests/volume/v2/fakes.py index ae4c9f51..eff0faf9 100644 --- a/openstackclient/tests/volume/v2/fakes.py +++ b/openstackclient/tests/volume/v2/fakes.py @@ -53,7 +53,7 @@ class FakeTransfer(object): :param Dictionary attrs: A dictionary with all attributes of Transfer Request - :retrun: + :return: A FakeResource object with volume_id, name, id. """ # Set default attribute @@ -103,7 +103,7 @@ class FakeService(object): :param Dictionary attrs: A dictionary with all attributes of service - :retrun: + :return: A FakeResource object with host, status, etc. """ # Set default attribute @@ -223,7 +223,7 @@ class FakeVolume(object): :param Dictionary attrs: A dictionary with all attributes of volume - :retrun: + :return: A FakeResource object with id, name, status, etc. """ attrs = attrs or {} |
