Merge "Fixup hard-coded hw_architecture in unittest" into stable/queens

This commit is contained in:
Zuul 2019-10-16 01:31:09 +00:00 committed by Gerrit Code Review
commit 1696ed35d0
1 changed files with 3 additions and 3 deletions

View File

@ -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)