Fix Nova notifier test case

Nova internal changed, and we don't need to stub this anymore for test to
work.

Change-Id: Id2946f37e790f333497a781fe2f7fbc358f351eb
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2012-09-20 15:41:32 +02:00
parent 8229941dcf
commit 1b46ecbd02

View File

@ -118,7 +118,6 @@ class TestNovaNotifier(base.TestCase):
lambda context, instance: {})
self.stubs.Set(db, 'instance_update_and_get_original',
lambda context, uuid, kwargs: (self.instance, self.instance))
self.stubs.Set(self.compute.resource_tracker, 'free_resources', self.do_nothing)
self.stubs.Set(publish, 'publish_counter', self.do_nothing)
nova_notifier.notify.manager.pollsters = [('test', self.Pollster())]