summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-05-23 14:38:37 -0500
committerChris Behrens <cbehrens@codestud.com>2011-05-23 14:38:37 -0500
commitffac2aa8162ba5111a01b495d9dd7e43bfda4af4 (patch)
tree0026787a684d89a70573e4a7f9143cd71aa82c6d /nova/tests
parente1795bd73c71a20290bc988c410e0cc30afe6bd8 (diff)
initial fudging in of swap disk
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/xenapi/stubs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py
index 4833ccb07..d9306900d 100644
--- a/nova/tests/xenapi/stubs.py
+++ b/nova/tests/xenapi/stubs.py
@@ -37,7 +37,7 @@ def stubout_instance_snapshot(stubs):
sr_ref=sr_ref, sharable=False)
vdi_rec = session.get_xenapi().VDI.get_record(vdi_ref)
vdi_uuid = vdi_rec['uuid']
- return vdi_uuid
+ return dict(primary_vdi_uuid=vdi_uuid, swap_vdi_uuid=None)
stubs.Set(vm_utils.VMHelper, 'fetch_image', fake_fetch_image)