From 012df4c1b88da9800f3545a44f55b8afd178058b Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Thu, 5 Apr 2012 17:56:04 +0000 Subject: [PATCH] Remove unused user_id and project_id parameters to fetch_image() Change-Id: I36d3b5d849b23cd4ebf55c5a2ef8ba14e3808ee6 --- nova/tests/xenapi/stubs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py index acfa8fb6..46a8efe5 100644 --- a/nova/tests/xenapi/stubs.py +++ b/nova/tests/xenapi/stubs.py @@ -40,8 +40,7 @@ def stubout_firewall_driver(stubs, conn): def stubout_instance_snapshot(stubs): @classmethod - def fake_fetch_image(cls, context, session, instance, image, user, - project, type): + def fake_fetch_image(cls, context, session, instance, image, type): return [dict(vdi_type='os', vdi_uuid=_make_fake_vdi())] stubs.Set(vm_utils.VMHelper, 'fetch_image', fake_fetch_image)