Merge "Fixed some typos in test code."
This commit is contained in:
commit
4f52b698dc
@ -3345,7 +3345,7 @@ class TestPut(test_api_base.BaseApiTest):
|
|||||||
self.assertEqual(urlparse.urlparse(ret.location).path,
|
self.assertEqual(urlparse.urlparse(ret.location).path,
|
||||||
expected_location)
|
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
|
# the new-ironic-state-machine in Kilo. It is retained for backwards
|
||||||
# compatibility with Juno.
|
# compatibility with Juno.
|
||||||
# TODO(deva): add a deprecation-warning to the REST result
|
# TODO(deva): add a deprecation-warning to the REST result
|
||||||
|
@ -49,7 +49,7 @@ def mock_the_extension_manager(driver="fake", namespace="ironic.drivers"):
|
|||||||
break
|
break
|
||||||
|
|
||||||
# NOTE(lucasagomes): Initialize the _extension_manager before
|
# 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
|
# a real NameDispatchExtensionManager to be created
|
||||||
# with the real namespace.
|
# with the real namespace.
|
||||||
driver_factory.DriverFactory._extension_manager = (
|
driver_factory.DriverFactory._extension_manager = (
|
||||||
|
@ -6694,7 +6694,7 @@ class DoNodeAdoptionTestCase(mgr_utils.ServiceSetUpMixin, db_base.DbTestCase):
|
|||||||
None]
|
None]
|
||||||
|
|
||||||
# NOTE(sambetts) Test to make sure deploy driver that doesn't support
|
# 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.service.heartbeat(
|
||||||
self.context, node.uuid, 'http://callback', '1.4.1')
|
self.context, node.uuid, 'http://callback', '1.4.1')
|
||||||
calls = [
|
calls = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user