summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-04-05 17:56:04 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-04-05 17:56:04 +0000
commit4e4605694f02ec0c65fc1ced88c9f86dccd48dcb (patch)
treea639f491342eb00a11e3902703fb5195041b54ca /nova/tests
parenta69e3efa54bd90eac8f536c477d0deaf240bdf3f (diff)
Remove unused user_id and project_id parameters to fetch_image()
Change-Id: I36d3b5d849b23cd4ebf55c5a2ef8ba14e3808ee6
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/xenapi/stubs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py
index acfa8fb61..46a8efe5f 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)