Merge "Fixup hard-coded hw_architecture in unittest" into stable/queens
This commit is contained in:
commit
1696ed35d0
|
@ -518,9 +518,9 @@ class TestUploadOvercloudImageFull(TestPluginV1):
|
|||
])
|
||||
# properties are set by updating the image
|
||||
self.app.client_manager.image.images.update.assert_has_calls([
|
||||
mock.call(mock.ANY, hw_architecture='x86_64'),
|
||||
mock.call(mock.ANY, hw_architecture='x86_64'),
|
||||
mock.call(mock.ANY, hw_architecture='x86_64'),
|
||||
mock.call(mock.ANY, hw_architecture=self._arch),
|
||||
mock.call(mock.ANY, hw_architecture=self._arch),
|
||||
mock.call(mock.ANY, hw_architecture=self._arch),
|
||||
])
|
||||
|
||||
self.assertEqual(mock_subprocess_call.call_count, 2)
|
||||
|
|
Loading…
Reference in New Issue