Commit ca5ef7ad authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Fix testcase-mock

Mocked get_image_dict should contain checksum, needed by archipelago
parent a2a5dd8d
......@@ -152,6 +152,7 @@ class ServerCreateAPITest(BaseAPITest):
"""Test if the create server call returns the expected response
if a valid request has been speficied."""
mimage.return_value = {'location': 'pithos://foo',
'checksum': '1234',
'disk_format': 'diskdump'}
mrapi().CreateInstance.return_value = 12
flavor = mfactory.FlavorFactory()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment