Fix for multiple misspelled words

In Nova code, few misspelled words have been found.
The misspellings python library has been used to scan
all nova code and find misspelled words.
This commit fixes all misspelled words found with this library.

Change-Id: I5919dddbbe812d8d32ecd8b249c1312249cd2a66
Closes-Bug: 1323730
This commit is contained in:
Edgar Magana
2014-05-23 20:09:55 -07:00
parent 1fdc4afa15
commit ef955cfa3d
6 changed files with 7 additions and 7 deletions

View File

@@ -133,8 +133,8 @@ class API(base_api.NetworkAPI):
if not context.is_admin:
for net in nets:
# Perform this check here rather than in validate_networks to
# ensure the check is performed everytime allocate_for_instance
# is invoked
# ensure the check is performed every time
# allocate_for_instance is invoked
if net.get('router:external'):
raise exception.ExternalNetworkAttachForbidden(
network_uuid=net['id'])

View File

@@ -968,7 +968,7 @@ class CellsTargetedMethodsTestCase(test.TestCase):
fake_topic,
fake_rpc_message, False, timeout=None)
def test_task_log_get_all_targetted(self):
def test_task_log_get_all_targeted(self):
task_name = 'fake_task_name'
begin = 'fake_begin'
end = 'fake_end'

View File

@@ -4640,7 +4640,7 @@ class BlockDeviceMappingTestCase(test.TestCase):
bdm['instance_uuid'])
self.assertEqual(len(bdm), 0)
def test_block_device_mapping_destroy_by_instance_and_volumne(self):
def test_block_device_mapping_destroy_by_instance_and_volume(self):
vol_id1 = '69f5c254-1a5b-4fff-acf7-cb369904f58f'
vol_id2 = '69f5c254-1a5b-4fff-acf7-cb369904f59f'

View File

@@ -500,7 +500,7 @@ class OpenStackMetadataTestCase(test.TestCase):
self.assertEqual([], [k for k in mdjson.keys() if k.find("-") != -1])
def test_vendor_data_presense(self):
def test_vendor_data_presence(self):
inst = self.instance.obj_clone()
mdinst = fake_InstanceMetadata(self.stubs, inst)

View File

@@ -177,7 +177,7 @@ class libvirtError(Exception):
Since a test environment will use the real `libvirt-python` version of
`libvirtError` if it's installed and not this fake, we need to maintain
strict compatability with the original class, including `__init__` args
strict compatibility with the original class, including `__init__` args
and instance-attributes.
To create a libvirtError instance you should:

View File

@@ -7021,7 +7021,7 @@ class LibvirtConnTestCase(test.TestCase):
block_device_info=block_device_info)
self.assertTrue('fake' in self.resultXML)
def test_create_propogates_exceptions(self):
def test_create_propagates_exceptions(self):
self.flags(virt_type='lxc', group='libvirt')
conn = libvirt_driver.LibvirtDriver(fake.FakeVirtAPI(), False)