Merge "[Trivial Fix] Correct spelling error of "should" and "resource""

This commit is contained in:
Zuul 2018-11-07 06:09:44 +00:00 committed by Gerrit Code Review
commit b8d5dc65c5
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ A very basic controller of a v2.1 API::
write_body_here = ok
return response_body
# Defining support for other RESTFul methods based on resouce.
# Defining support for other RESTFul methods based on resource.
See `servers.py <http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/servers.py>`_ for ref.

View File

@ -1144,7 +1144,7 @@ class VlanNetworkTestCase(test.TestCase):
vlan=100, cidr='192.168.0.1/24', network_size=100)
def test_vlan_start(self):
# VLAN 100 and 101 are used, so this network shoud be created in 102
# VLAN 100 and 101 are used, so this network should be created in 102
networks = self.network.create_networks(
self.context_admin, label="fake", num_networks=1,
vlan_start=100, cidr='192.168.3.1/24',
@ -1153,7 +1153,7 @@ class VlanNetworkTestCase(test.TestCase):
self.assertEqual(102, networks[0]["vlan"])
def test_vlan_start_multiple(self):
# VLAN 100 and 101 are used, so these networks shoud be created in 102
# VLAN 100 and 101 are used, so these networks should be created in 102
# and 103
networks = self.network.create_networks(
self.context_admin, label="fake", num_networks=2,

View File

@ -879,7 +879,7 @@ class TestUtils(test.NoDBTestCase):
@mock.patch('nova.scheduler.client.report.SchedulerReportClient')
@mock.patch('nova.scheduler.utils.request_is_rebuild')
def test_claim_resouces_for_policy_check(self, mock_is_rebuild,
def test_claim_resources_for_policy_check(self, mock_is_rebuild,
mock_client):
mock_is_rebuild.return_value = True
ctx = mock.Mock(user_id=uuids.user_id)