summaryrefslogtreecommitdiffstats
path: root/nova/tests/scheduler/test_scheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/scheduler/test_scheduler.py')
-rw-r--r--nova/tests/scheduler/test_scheduler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/scheduler/test_scheduler.py b/nova/tests/scheduler/test_scheduler.py
index a662d6930..23b553d64 100644
--- a/nova/tests/scheduler/test_scheduler.py
+++ b/nova/tests/scheduler/test_scheduler.py
@@ -389,10 +389,10 @@ class SchedulerTestCase(test.TestCase):
self.driver.compute_api.create_db_entry_for_new_instance(
self.context, instance_type, image, base_options,
security_group,
- block_device_mapping).AndReturn(fake_instance)
+ block_device_mapping, None).AndReturn(fake_instance)
self.mox.ReplayAll()
instance = self.driver.create_instance_db_entry(self.context,
- request_spec)
+ request_spec, None)
self.mox.VerifyAll()
self.assertEqual(instance, fake_instance)
@@ -407,7 +407,7 @@ class SchedulerTestCase(test.TestCase):
self.mox.ReplayAll()
instance = self.driver.create_instance_db_entry(self.context,
- request_spec)
+ request_spec, None)
self.assertEqual(instance, fake_instance)
def _live_migration_instance(self):