summaryrefslogtreecommitdiff
path: root/nova/tests/unit/network
diff options
context:
space:
mode:
authorRajesh Tailor <ratailor@redhat.com>2022-05-23 16:56:20 +0530
committerRajesh Tailor <ratailor@redhat.com>2022-05-30 17:40:00 +0530
commit2521810e553593f8d02adeef0f089b60bc7f71a6 (patch)
tree92af3276454317225cc544b1c8044442a2c7d966 /nova/tests/unit/network
parent61b161eeaaed9e228b735f7c6793e7fc5bf1a830 (diff)
downloadnova-2521810e553593f8d02adeef0f089b60bc7f71a6.tar.gz
Fix typos
This change fixes some of the typos in unit tests as well as in nova code-base. Change-Id: I209bbb270baf889fcb2b9a4d1ce0ab4a962d0d0e
Diffstat (limited to 'nova/tests/unit/network')
-rw-r--r--nova/tests/unit/network/test_neutron.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/tests/unit/network/test_neutron.py b/nova/tests/unit/network/test_neutron.py
index e966662319..099d818dc6 100644
--- a/nova/tests/unit/network/test_neutron.py
+++ b/nova/tests/unit/network/test_neutron.py
@@ -5136,7 +5136,7 @@ class TestAPI(TestAPIBase):
self.api.has_port_binding_extension = mock.Mock(return_value=True)
migrate_profile = {
constants.MIGRATING_ATTR: 'new-host'}
- # Pass a port with an migration porfile attribute.
+ # Pass a port with an migration profile attribute.
port_id = uuids.port_id
get_ports = {'ports': [
{'id': port_id,
@@ -5168,7 +5168,7 @@ class TestAPI(TestAPIBase):
self.api.has_port_binding_extension = mock.Mock(return_value=True)
migrate_profile = {
constants.MIGRATING_ATTR: 'new-host'}
- # Pass a port with an migration porfile attribute.
+ # Pass a port with an migration profile attribute.
get_ports = {
'ports': [
{'id': uuids.port1,
@@ -5208,7 +5208,7 @@ class TestAPI(TestAPIBase):
instance = fake_instance.fake_instance_obj(self.context)
self.api.has_port_binding_extension = mock.Mock(return_value=True)
- # Pass a port without any migration porfile attribute.
+ # Pass a port without any migration profile attribute.
get_ports = {'ports': [
{'id': uuids.port_id,
constants.BINDING_HOST_ID: instance.host}]}
@@ -8118,7 +8118,7 @@ class TestAPIPortbinding(TestAPIBase):
self.assertEqual(1, mocked_client.create_port_binding.call_count)
self.assertDictEqual({uuids.port: binding['binding']}, result)
- # assert that that if vnic_type and profile are set in VIF object
+ # assert that if vnic_type and profile are set in VIF object
# the provided vnic_type and profile take precedence.
nwinfo = model.NetworkInfo([model.VIF(id=uuids.port,