fix spelling mistakes found by codespell
Change-Id: I92b0102037cd13fed07e385d7fd1e55d03bfe51b
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
diff --git a/ironic_tempest_plugin/common/waiters.py b/ironic_tempest_plugin/common/waiters.py
index e538cd8..cd13fe7 100644
--- a/ironic_tempest_plugin/common/waiters.py
+++ b/ironic_tempest_plugin/common/waiters.py
@@ -180,7 +180,7 @@
field_value = node[field]
if raise_if_insufficent_access and '** Redacted' in field_value:
msg = ('Unable to see contents of redacted field '
- 'indicating insufficent access to execute this test.')
+ 'indicating insufficient access to execute this test.')
raise lib_exc.InsufficientAPIAccess(msg)
return value in field_value
diff --git a/ironic_tempest_plugin/exceptions.py b/ironic_tempest_plugin/exceptions.py
index 865ab08..a1a9873 100644
--- a/ironic_tempest_plugin/exceptions.py
+++ b/ironic_tempest_plugin/exceptions.py
@@ -30,5 +30,5 @@
class InsufficientAPIAccess(exceptions.TempestException):
- message = ("Insufficent Access to the API exists. Please use a user "
+ message = ("Insufficient Access to the API exists. Please use a user "
"with an elevated level of access to execute this test.")
diff --git a/ironic_tempest_plugin/tests/api/base.py b/ironic_tempest_plugin/tests/api/base.py
index 11ce859..c07137b 100644
--- a/ironic_tempest_plugin/tests/api/base.py
+++ b/ironic_tempest_plugin/tests/api/base.py
@@ -523,8 +523,8 @@
class BaseBaremetalRBACTest(BaseBaremetalTest):
- # Unless otherwise superceeded by a version, RBAC tests generally start at
- # version 1.70 as that is when System scope and the delineation occured.
+ # Unless otherwise superseded by a version, RBAC tests generally start at
+ # version 1.70 as that is when System scope and the delineation occurred.
min_microversion = '1.70'
@classmethod
diff --git a/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py b/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
index cd16fe2..2af624a 100644
--- a/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
+++ b/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
@@ -675,7 +675,7 @@
All tests here must always expect *multiple* nodes visible, since
this is a global reader role.
- https://opendev.org/openstack/ironic/src/branch/master/ironic/common/policy.py#L60 # noqa
+ https://opendev.org/openstack/ironic/src/branch/master/ironic/common/policy.py#L60
"""
credentials = ['system_admin', 'system_reader']
diff --git a/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py b/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py
index ddb550b..7fa8cb5 100644
--- a/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py
+++ b/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py
@@ -343,7 +343,7 @@
:param image_ref: Reference to user image to boot node with.
:param image_checksum: md5sum of image specified in image_ref.
Needed only when direct HTTP link is provided.
- :param boot_option: The defaut boot option to utilize. If not
+ :param boot_option: The default boot option to utilize. If not
specified, the ironic deployment default shall
be utilized.
:param config_drive_networking: If we should load configuration drive
@@ -583,7 +583,7 @@
# If we don't require an explicit driver, then what drivers *can* we
# operate with. In essence, this exists to prevent the test from failing
# on 3rd party drivers, and vendor specific driers which do not support
- # the sort of itnerfaces we may be trying to test by default.
+ # the sort of interfaces we may be trying to test by default.
valid_driver_list = []
# The bios interface to use by the HW type. The bios interface of the
@@ -719,7 +719,7 @@
if (cls.use_available_driver
and not cls.driver
and cls.node['driver'] in cls.valid_driver_list):
- # If we're attempting to re-use the existing driver, then
+ # If we're attempting to reuse the existing driver, then
# lets save a value for update_node_driver to work with.
cls.driver = cls.node['driver']
cls.update_node_driver(cls.node['uuid'], cls.driver, **boot_kwargs)
diff --git a/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py b/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py
index 5901d20..e16bfad 100644
--- a/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py
+++ b/ironic_tempest_plugin/tests/scenario/ironic_standalone/test_basic_ops.py
@@ -638,7 +638,7 @@
use_available_driver = True
# List of valid drivers which these tests *can* attempt to utilize.
- # Generally these should be the most commom, stock, upstream drivers.
+ # Generally these should be the most common, stock, upstream drivers.
valid_driver_list = ['ipmi', 'redfish']
# Bypass secondary attribute presence check as these tests don't require
diff --git a/ironic_tempest_plugin/tests/scenario/test_introspection_discovery.py b/ironic_tempest_plugin/tests/scenario/test_introspection_discovery.py
index 6ebfcc6..9950453 100644
--- a/ironic_tempest_plugin/tests/scenario/test_introspection_discovery.py
+++ b/ironic_tempest_plugin/tests/scenario/test_introspection_discovery.py
@@ -136,13 +136,13 @@
* Generate discovery rule;
* Start introspection via ironic-inspector API;
* Delete the node from ironic;
- * Wating for node discovery;
+ * Waiting for node discovery;
* Verify introspected node.
"""
# NOTE(aarefiev): workaround for infra, 'tempest' user doesn't
# have virsh privileges, so lets power on the node via ironic
# and then delete it. Because of node is blacklisted in inspector
- # we can't just power on it, therefor start introspection is used
+ # we can't just power on it, therefore start introspection is used
# to whitelist discovered node first.
self.baremetal_client.set_node_provision_state(
self.node_info['uuid'], 'manage')