Trivial fix typos · openstack/python-openstackclient@b52bbe1 · GitHub
Skip to content

Commit b52bbe1

Browse files
author
Vu Cong Tuan
committed
Trivial fix typos
Change-Id: I72a1da209df38e226ec02d9dbd0142ed4020c0d2
1 parent b78153a commit b52bbe1

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

openstackclient/api/compute_v2.py

Lines changed: 1 addition & 1 deletion

openstackclient/tests/functional/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def is_service_enabled(service):
4848
ret = execute('openstack service show -f value -c enabled ' + service)
4949
except exceptions.CommandFailed:
5050
# We get here for multiple reasons, all of them mean that a working
51-
# service is not avilable
51+
# service is not available
5252
return False
5353

5454
return "True" in ret
@@ -69,7 +69,7 @@ def get_openstack_configuration_value(cls, configuration):
6969
return cls.openstack('configuration show ' + opts)
7070

7171
@classmethod
72-
def get_openstack_extention_names(cls):
72+
def get_openstack_extension_names(cls):
7373
opts = cls.get_opts(['Name'])
7474
return cls.openstack('extension list ' + opts)
7575

openstackclient/tests/functional/network/v2/test_network_segment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def setUpClass(cls):
3737
# NOTE(rtheis): The segment extension is not yet enabled
3838
# by default.
3939
# Skip the tests if not enabled.
40-
extensions = cls.get_openstack_extention_names()
40+
extensions = cls.get_openstack_extension_names()
4141
if 'Segment' in extensions:
4242
cls.NETWORK_SEGMENT_EXTENSION = 'Segment'
4343

openstackclient/tests/functional/network/v2/test_subnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,6 @@ def _subnet_create(self, cmd, name, is_type_ipv4=True):
278278
raise
279279
pass
280280
else:
281-
# break and no longer retry if create sucessfully
281+
# break and no longer retry if create successfully
282282
break
283283
return cmd_output

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def get_security_groups(security_groups=None, count=2):
503503
If security groups list is provided, then initialize the Mock object
504504
with the list. Otherwise create one.
505505
506-
:param List security groups:
506+
:param List security_groups:
507507
A list of FakeResource objects faking security groups
508508
:param int count:
509509
The number of security groups to fake
@@ -1029,7 +1029,7 @@ def get_floating_ips(floating_ips=None, count=2):
10291029
If floating_ips list is provided, then initialize the Mock object
10301030
with the list. Otherwise create one.
10311031
1032-
:param List floating ips:
1032+
:param List floating_ips:
10331033
A list of FakeResource objects faking floating ips
10341034
:param int count:
10351035
The number of floating ips to fake

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def create_one_image_member(attrs=None):
287287
"""Create a fake image member.
288288
289289
:param Dictionary attrs:
290-
A dictionary with all attrbutes of image member
290+
A dictionary with all attributes of image member
291291
:return:
292292
A FakeResource object with member_id, image_id and so on
293293
"""

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

Lines changed: 7 additions & 7 deletions

0 commit comments

Comments
 (0)