Fixup hard-coded hw_architecture in unittest

Closes-Bug: #1784662
Change-Id: I344a4e660d29d73058623a7856e5835aa2b7c82d
(cherry picked from commit 58888f2398)
This commit is contained in:
Jon Schlueter 2018-07-31 11:56:33 -04:00 committed by Trevor Vardeman
parent 3b6d2ca211
commit 1945c289cf
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)