diff options
| author | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2017-05-30 16:37:01 +0700 |
|---|---|---|
| committer | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2017-05-30 16:38:27 +0700 |
| commit | b52bbe1eec23ab498cc9fcda87045bddb28264db (patch) | |
| tree | b8ab8fba0e93ce5ef14abd4644319b47188fc7ff /openstackclient/tests/functional | |
| parent | b78153aec4f050e64ee8ec9c930ae673bb3ecd47 (diff) | |
| download | python-openstackclient-b52bbe1eec23ab498cc9fcda87045bddb28264db.tar.gz | |
Trivial fix typos
Change-Id: I72a1da209df38e226ec02d9dbd0142ed4020c0d2
Diffstat (limited to 'openstackclient/tests/functional')
3 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py index 2d070645..d95f7f84 100644 --- a/openstackclient/tests/functional/base.py +++ b/openstackclient/tests/functional/base.py @@ -48,7 +48,7 @@ def is_service_enabled(service): ret = execute('openstack service show -f value -c enabled ' + service) except exceptions.CommandFailed: # We get here for multiple reasons, all of them mean that a working - # service is not avilable + # service is not available return False return "True" in ret @@ -69,7 +69,7 @@ class TestCase(testtools.TestCase): return cls.openstack('configuration show ' + opts) @classmethod - def get_openstack_extention_names(cls): + def get_openstack_extension_names(cls): opts = cls.get_opts(['Name']) return cls.openstack('extension list ' + opts) diff --git a/openstackclient/tests/functional/network/v2/test_network_segment.py b/openstackclient/tests/functional/network/v2/test_network_segment.py index de150d31..7fc79746 100644 --- a/openstackclient/tests/functional/network/v2/test_network_segment.py +++ b/openstackclient/tests/functional/network/v2/test_network_segment.py @@ -37,7 +37,7 @@ class NetworkSegmentTests(common.NetworkTests): # NOTE(rtheis): The segment extension is not yet enabled # by default. # Skip the tests if not enabled. - extensions = cls.get_openstack_extention_names() + extensions = cls.get_openstack_extension_names() if 'Segment' in extensions: cls.NETWORK_SEGMENT_EXTENSION = 'Segment' diff --git a/openstackclient/tests/functional/network/v2/test_subnet.py b/openstackclient/tests/functional/network/v2/test_subnet.py index 5160042c..93e0593d 100644 --- a/openstackclient/tests/functional/network/v2/test_subnet.py +++ b/openstackclient/tests/functional/network/v2/test_subnet.py @@ -278,6 +278,6 @@ class SubnetTests(common.NetworkTests): raise pass else: - # break and no longer retry if create sucessfully + # break and no longer retry if create successfully break return cmd_output |
