From 353a8fa27b8282e1b55c08ffb7103aea93a44926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20K=C3=B6lker?= Date: Thu, 26 May 2011 16:36:49 -0500 Subject: [PATCH] stub out passing the network --- nova/tests/test_xenapi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index be1e3569..75abe559 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -214,7 +214,7 @@ class XenAPIVMTestCase(test.TestCase): 'mac_address': 'aa:bb:cc:dd:ee:ff', 'os_type': 'linux'} instance = db.instance_create(self.context, values) - self.conn.spawn(instance) + self.conn.spawn(instance, {}) gt1 = eventlet.spawn(_do_build, 1, self.project.id, self.user.id) gt2 = eventlet.spawn(_do_build, 2, self.project.id, self.user.id) @@ -365,7 +365,7 @@ class XenAPIVMTestCase(test.TestCase): 'mac_address': 'aa:bb:cc:dd:ee:ff', 'os_type': os_type} instance = db.instance_create(self.context, values) - self.conn.spawn(instance) + self.conn.spawn(instance, {}) self.create_vm_record(self.conn, os_type, instance_id) self.check_vm_record(self.conn, check_injection) @@ -551,7 +551,7 @@ class XenAPIVMTestCase(test.TestCase): 'mac_address': 'aa:bb:cc:dd:ee:ff', 'os_type': 'linux'} instance = db.instance_create(self.context, values) - self.conn.spawn(instance) + self.conn.spawn(instance, {}) return instance