From 75e76b39aa8beffa0a6b36381853379885b8702f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 12 Jun 2013 14:41:41 +0200 Subject: [PATCH] Fix nova notifier tests A recent in nova broke it. Change-Id: I38beb075a305e7982f6cb02a7b1989ea618659c5 Signed-off-by: Julien Danjou --- nova_tests/test_notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova_tests/test_notifier.py b/nova_tests/test_notifier.py index 893f68155..89e129d86 100644 --- a/nova_tests/test_notifier.py +++ b/nova_tests/test_notifier.py @@ -133,7 +133,7 @@ class TestNovaNotifier(base.TestCase): self.stubs.Set(db, 'instance_update_and_get_original', lambda context, uuid, kwargs: (self.instance, self.instance)) - self.stubs.Set(flavors, 'extract_instance_type', + self.stubs.Set(flavors, 'extract_flavor', lambda ref: {}) # Set up to capture the notification messages generated by the