ugh, fixed again

This commit is contained in:
Sandy Walsh
2011-05-17 05:43:06 -07:00
parent 7ed85c9ee5
commit effa4b37fa

View File

@@ -116,4 +116,6 @@ class ZoneAwareSchedulerTestCase(test.TestCase):
sched.set_zone_manager(zm)
fake_context = {}
self.assertRaises(driver.NoValidHost, sched.schedule, fake_context, {})
self.assertRaises(driver.NoValidHost, sched.schedule_run_instance,
fake_context, 1,
dict(host_filter=None, instance_type={}))