From 2fbab4b6706fd2c4b2fecc05f653b3051aa2ffa2 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Fri, 2 Mar 2012 16:09:21 +0000 Subject: Call super class tearDown correctly Change-Id: I39dcf337f57a59cab1ad69a649505b588bfda87b --- nova/tests/test_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_policy.py b/nova/tests/test_policy.py index be0aa3d2e..9f7fb27d6 100644 --- a/nova/tests/test_policy.py +++ b/nova/tests/test_policy.py @@ -173,7 +173,7 @@ class DefaultPolicyTestCase(test.TestCase): nova.common.policy.set_brain(brain) def tearDown(self): - super(DefaultPolicyTestCase, self).setUp() + super(DefaultPolicyTestCase, self).tearDown() policy.reset() def test_policy_called(self): -- cgit