nova_notifier: fix tests
The prototype for instance_update_and_get_original changed, so let's ignore it completely for the future. Change-Id: Icfa161109e76e2717f64084ddce829f6c68aeb57 Fixes-Bug: #1221173
This commit is contained in:
parent
0d8c4bbd24
commit
d2a87a9dfd
@ -178,8 +178,7 @@ class TestNovaNotifier(base.TestCase):
|
||||
self.stubs.Set(db, 'block_device_mapping_get_all_by_instance',
|
||||
lambda context, instance: {})
|
||||
self.stubs.Set(db, 'instance_update_and_get_original',
|
||||
lambda context, uuid, kwargs, update_cells: (self.instance,
|
||||
self.instance))
|
||||
lambda *args, **kwargs: (self.instance, self.instance))
|
||||
self.stubs.Set(flavors, 'extract_flavor',
|
||||
lambda ref: {})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user