[Trivial Fix] Correct spelling error of "should" and "resource"
Small modification to correct spelling mistake. Change-Id: I4bf378e5316ecc48f66eefae4f45d5a505adc305 Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
This commit is contained in:
parent
5a101e1417
commit
f8de2d9788
@ -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.
|
||||
|
@ -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,
|
||||
|
@ -908,7 +908,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user