Fix nova notifier tests
A recent in nova broke it. Change-Id: I38beb075a305e7982f6cb02a7b1989ea618659c5 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c81ba76a16
commit
75e76b39aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user