diff --git a/doc/source/contributor/api.rst b/doc/source/contributor/api.rst index 47210518001a..fce0d0e28f0a 100644 --- a/doc/source/contributor/api.rst +++ b/doc/source/contributor/api.rst @@ -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 `_ for ref. diff --git a/nova/tests/unit/network/test_manager.py b/nova/tests/unit/network/test_manager.py index afeea8477645..0cfe44288709 100644 --- a/nova/tests/unit/network/test_manager.py +++ b/nova/tests/unit/network/test_manager.py @@ -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, diff --git a/nova/tests/unit/scheduler/test_utils.py b/nova/tests/unit/scheduler/test_utils.py index c96da46fa326..139d96762dc8 100644 --- a/nova/tests/unit/scheduler/test_utils.py +++ b/nova/tests/unit/scheduler/test_utils.py @@ -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)