summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/functional/base.py4
-rw-r--r--openstackclient/tests/functional/volume/v1/test_volume_type.py4
-rw-r--r--openstackclient/tests/functional/volume/v2/test_volume_type.py4
-rw-r--r--openstackclient/tests/functional/volume/v3/test_volume_type.py4
-rw-r--r--openstackclient/tests/unit/compute/v2/fakes.py4
5 files changed, 10 insertions, 10 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py
index e89c5b97..b6867f81 100644
--- a/openstackclient/tests/functional/base.py
+++ b/openstackclient/tests/functional/base.py
@@ -51,7 +51,7 @@ class TestCase(testtools.TestCase):
def openstack(cls, cmd, cloud=ADMIN_CLOUD, fail_ok=False):
"""Executes openstackclient command for the given action
- NOTE(dtroyer): There is a subtle distinction between pasing
+ NOTE(dtroyer): There is a subtle distinction between passing
cloud=None and cloud='': for compatibility reasons passing
cloud=None continues to include the option '--os-auth-type none'
in the command while passing cloud='' omits the '--os-auth-type'
@@ -70,7 +70,7 @@ class TestCase(testtools.TestCase):
fail_ok=fail_ok
)
else:
- # Execure command with an explicit cloud specified
+ # Execute command with an explicit cloud specified
return execute(
'openstack --os-cloud=' + cloud + ' ' + cmd,
fail_ok=fail_ok
diff --git a/openstackclient/tests/functional/volume/v1/test_volume_type.py b/openstackclient/tests/functional/volume/v1/test_volume_type.py
index fb8dabdb..7434b5b3 100644
--- a/openstackclient/tests/functional/volume/v1/test_volume_type.py
+++ b/openstackclient/tests/functional/volume/v1/test_volume_type.py
@@ -118,10 +118,10 @@ class VolumeTypeTests(common.BaseVolumeTests):
raw_output = self.openstack(cmd)
self.assertOutput('', raw_output)
- # NOTE: Add some basic funtional tests with the old format to
+ # NOTE: Add some basic functional tests with the old format to
# make sure the command works properly, need to change
# these to new test format when beef up all tests for
- # volume tye commands.
+ # volume type commands.
def test_encryption_type(self):
encryption_type = uuid.uuid4().hex
# test create new encryption type
diff --git a/openstackclient/tests/functional/volume/v2/test_volume_type.py b/openstackclient/tests/functional/volume/v2/test_volume_type.py
index 3f1a6ea8..861c393d 100644
--- a/openstackclient/tests/functional/volume/v2/test_volume_type.py
+++ b/openstackclient/tests/functional/volume/v2/test_volume_type.py
@@ -139,10 +139,10 @@ class VolumeTypeTests(common.BaseVolumeTests):
raw_output = self.openstack(cmd)
self.assertOutput('', raw_output)
- # NOTE: Add some basic funtional tests with the old format to
+ # NOTE: Add some basic functional tests with the old format to
# make sure the command works properly, need to change
# these to new test format when beef up all tests for
- # volume tye commands.
+ # volume type commands.
def test_encryption_type(self):
name = uuid.uuid4().hex
encryption_type = uuid.uuid4().hex
diff --git a/openstackclient/tests/functional/volume/v3/test_volume_type.py b/openstackclient/tests/functional/volume/v3/test_volume_type.py
index 79d40969..165c625c 100644
--- a/openstackclient/tests/functional/volume/v3/test_volume_type.py
+++ b/openstackclient/tests/functional/volume/v3/test_volume_type.py
@@ -139,10 +139,10 @@ class VolumeTypeTests(common.BaseVolumeTests):
raw_output = self.openstack(cmd)
self.assertOutput('', raw_output)
- # NOTE: Add some basic funtional tests with the old format to
+ # NOTE: Add some basic functional tests with the old format to
# make sure the command works properly, need to change
# these to new test format when beef up all tests for
- # volume tye commands.
+ # volume type commands.
def test_encryption_type(self):
name = uuid.uuid4().hex
encryption_type = uuid.uuid4().hex
diff --git a/openstackclient/tests/unit/compute/v2/fakes.py b/openstackclient/tests/unit/compute/v2/fakes.py
index 55572cd8..a1e7754a 100644
--- a/openstackclient/tests/unit/compute/v2/fakes.py
+++ b/openstackclient/tests/unit/compute/v2/fakes.py
@@ -1339,7 +1339,7 @@ class FakeServerGroup(object):
class FakeServerGroupV264(object):
- """Fake one server group fo API >= 2.64"""
+ """Fake one server group for API >= 2.64"""
@staticmethod
def create_one_server_group(attrs=None):
@@ -1454,7 +1454,7 @@ class FakeQuota(object):
@staticmethod
def create_one_default_comp_quota(attrs=None):
- """Crate one quota"""
+ """Create one quota"""
attrs = attrs or {}