summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-04 00:37:05 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-07 10:18:58 -0400
commit24cfd0d6f2667d65f81b43fc76af71fd33b78de7 (patch)
tree860e70a12269dac74cca9018cbd05b37ae06098f /nova/tests
parent8b234721c1d560603ec4e6e73b95631b63a9f557 (diff)
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
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_compute.py2
1 files changed, 1 insertions, 1 deletions
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'])