Exemplo n.º 1
0
 def test_migrate_resize_to_same_flavor(self):
     exc_info = exception.CannotResizeToSameFlavor()
     self._test_migrate_exception(exc_info, 400)
Exemplo n.º 2
0
def fake_compute_api_can_not_resize_to_same_flavor(self, context, instance_id):
    raise exception.CannotResizeToSameFlavor()