Merge "Remove unused user_id and project_id parameters to fetch_image()"
This commit is contained in:
@@ -40,8 +40,7 @@ def stubout_firewall_driver(stubs, conn):
|
|||||||
|
|
||||||
def stubout_instance_snapshot(stubs):
|
def stubout_instance_snapshot(stubs):
|
||||||
@classmethod
|
@classmethod
|
||||||
def fake_fetch_image(cls, context, session, instance, image, user,
|
def fake_fetch_image(cls, context, session, instance, image, type):
|
||||||
project, type):
|
|
||||||
return [dict(vdi_type='os', vdi_uuid=_make_fake_vdi())]
|
return [dict(vdi_type='os', vdi_uuid=_make_fake_vdi())]
|
||||||
|
|
||||||
stubs.Set(vm_utils.VMHelper, 'fetch_image', fake_fetch_image)
|
stubs.Set(vm_utils.VMHelper, 'fetch_image', fake_fetch_image)
|
||||||
|
|||||||
Reference in New Issue
Block a user