Skip to content

Commit 44d4188

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "fix a few spelling mistakes"
2 parents 73a0ad7 + 6115dfe commit 44d4188

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

openstackclient/tests/compute/v2/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ def setUp(self):
5151
self.volumes_mock = self.app.client_manager.volume.volumes
5252
self.volumes_mock.reset_mock()
5353

54-
# Set object attributes to be tested. Could be overwriten in subclass.
54+
# Set object attributes to be tested. Could be overwritten in subclass.
5555
self.attrs = {}
5656

57-
# Set object methods to be tested. Could be overwriten in subclass.
57+
# Set object methods to be tested. Could be overwritten in subclass.
5858
self.methods = {}
5959

6060
def setup_servers_mock(self, count):

openstackclient/tests/compute/v2/test_server_backup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def setUp(self):
3434
self.images_mock = self.app.client_manager.image.images
3535
self.images_mock.reset_mock()
3636

37-
# Set object attributes to be tested. Could be overwriten in subclass.
37+
# Set object attributes to be tested. Could be overwritten in subclass.
3838
self.attrs = {}
3939

40-
# Set object methods to be tested. Could be overwriten in subclass.
40+
# Set object methods to be tested. Could be overwritten in subclass.
4141
self.methods = {}
4242

4343
def setup_servers_mock(self, count):

openstackclient/tests/compute/v2/test_server_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def setUp(self):
3333
self.images_mock = self.app.client_manager.image.images
3434
self.images_mock.reset_mock()
3535

36-
# Set object attributes to be tested. Could be overwriten in subclass.
36+
# Set object attributes to be tested. Could be overwritten in subclass.
3737
self.attrs = {}
3838

39-
# Set object methods to be tested. Could be overwriten in subclass.
39+
# Set object methods to be tested. Could be overwritten in subclass.
4040
self.methods = {}
4141

4242
def setup_servers_mock(self, count):

openstackclient/tests/image/v2/fakes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def create_one_image(attrs=None):
190190
191191
:param Dictionary attrs:
192192
A dictionary with all attrbutes of image
193-
:retrun:
193+
:return:
194194
A FakeResource object with id, name, owner, protected,
195195
visibility and tags attrs
196196
"""

openstackclient/tests/volume/v1/fakes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def create_one_transfer(attrs=None):
157157
158158
:param Dictionary attrs:
159159
A dictionary with all attributes of Transfer Request
160-
:retrun:
160+
:return:
161161
A FakeResource object with volume_id, name, id.
162162
"""
163163
# Set default attribute
@@ -207,7 +207,7 @@ def create_one_service(attrs=None):
207207
208208
:param Dictionary attrs:
209209
A dictionary with all attributes of service
210-
:retrun:
210+
:return:
211211
A FakeResource object with host, status, etc.
212212
"""
213213
# Set default attribute

openstackclient/tests/volume/v2/fakes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def create_one_transfer(attrs=None):
5353
5454
:param Dictionary attrs:
5555
A dictionary with all attributes of Transfer Request
56-
:retrun:
56+
:return:
5757
A FakeResource object with volume_id, name, id.
5858
"""
5959
# Set default attribute
@@ -103,7 +103,7 @@ def create_one_service(attrs=None):
103103
104104
:param Dictionary attrs:
105105
A dictionary with all attributes of service
106-
:retrun:
106+
:return:
107107
A FakeResource object with host, status, etc.
108108
"""
109109
# Set default attribute
@@ -223,7 +223,7 @@ def create_one_volume(attrs=None):
223223
224224
:param Dictionary attrs:
225225
A dictionary with all attributes of volume
226-
:retrun:
226+
:return:
227227
A FakeResource object with id, name, status, etc.
228228
"""
229229
attrs = attrs or {}

0 commit comments

Comments
 (0)