stubbed out get_instance_nw_info for compute_test

This commit is contained in:
Trey Morris
2011-06-15 12:01:24 -05:00
parent b8b80ce8b3
commit 6fa854cab8

View File

@@ -339,6 +339,7 @@ class ComputeTestCase(test.TestCase):
pass
self.stubs.Set(self.compute.driver, 'finish_resize', fake)
self.stubs.Set(self.compute.network_api, 'get_instance_nw_info', fake)
context = self.context.elevated()
instance_id = self._create_instance()
self.compute.prep_resize(context, instance_id, 1)