Merge "Fixed some typos in test code."

This commit is contained in:
Zuul 2018-02-14 10:12:20 +00:00 committed by Gerrit Code Review
commit 4f52b698dc
3 changed files with 3 additions and 3 deletions

View File

@ -3345,7 +3345,7 @@ class TestPut(test_api_base.BaseApiTest):
self.assertEqual(urlparse.urlparse(ret.location).path,
expected_location)
# NOTE(deva): this test asserts API funcionality which is not part of
# NOTE(deva): this test asserts API functionality which is not part of
# the new-ironic-state-machine in Kilo. It is retained for backwards
# compatibility with Juno.
# TODO(deva): add a deprecation-warning to the REST result

View File

@ -49,7 +49,7 @@ def mock_the_extension_manager(driver="fake", namespace="ironic.drivers"):
break
# NOTE(lucasagomes): Initialize the _extension_manager before
# instantiaing a DriverFactory class to avoid
# instantiating a DriverFactory class to avoid
# a real NameDispatchExtensionManager to be created
# with the real namespace.
driver_factory.DriverFactory._extension_manager = (

View File

@ -6694,7 +6694,7 @@ class DoNodeAdoptionTestCase(mgr_utils.ServiceSetUpMixin, db_base.DbTestCase):
None]
# NOTE(sambetts) Test to make sure deploy driver that doesn't support
# version yet falls back to old behviour and logs a warning.
# version yet falls back to old behaviour and logs a warning.
self.service.heartbeat(
self.context, node.uuid, 'http://callback', '1.4.1')
calls = [