Merge "Fixup hard-coded hw_architecture in unittest"

This commit is contained in:
Zuul 2018-08-01 00:11:18 +00:00 committed by Gerrit Code Review
commit 03254c84f6
1 changed files with 3 additions and 3 deletions

View File

@ -516,9 +516,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)