From 24cfd0d6f2667d65f81b43fc76af71fd33b78de7 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 4 Aug 2012 00:37:05 -0400 Subject: Remove temporary hack from wrap_instance_fault. The wrap_instance_fault decorator had a temporary hack in place while methods in the compute manager were being converted to be able to take an instance instead of an instance_uuid. Now that it's done, the decorator can be simplified. Part of blueprint no-db-messaging. Change-Id: I496d58137ef720ff31acc70a2b7acc670a088ce6 --- nova/tests/compute/test_compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/compute/test_compute.py b/nova/tests/compute/test_compute.py index 387c2c1cc..0b0316e26 100644 --- a/nova/tests/compute/test_compute.py +++ b/nova/tests/compute/test_compute.py @@ -234,7 +234,7 @@ class ComputeTestCase(BaseTestCase): raise NotImplementedError() self.assertRaises(NotImplementedError, failer, - self.compute, self.context, inst_uuid) + self.compute, self.context, instance_uuid=inst_uuid) self.assertTrue(called['fault_added']) -- cgit