From 1b46ecbd026f08a54cb71b2283bfc3b4ec63c23a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 20 Sep 2012 15:41:32 +0200 Subject: [PATCH] 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 --- tests/compute/test_nova_notifier.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/compute/test_nova_notifier.py b/tests/compute/test_nova_notifier.py index ece1068ea..b8e339259 100644 --- a/tests/compute/test_nova_notifier.py +++ b/tests/compute/test_nova_notifier.py @@ -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())]