From b3ee8b799cd5bd33326d8a9f8baf8f1bcf2eb20c Mon Sep 17 00:00:00 2001 From: Rushi Agrawal Date: Wed, 6 Mar 2013 05:30:39 +0530 Subject: [PATCH] Fix calling setUp() method of superclass from tearDown method. In test_netapp.py, the tearDown function was calling setUp of superclass instead of calling tearDown of superclass. Fixed it here. Change-Id: Iab65e60193edcd47d09d7788b0951ef66d816e38 --- cinder/tests/test_netapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/tests/test_netapp.py b/cinder/tests/test_netapp.py index f13ab6a4a..15f4242c1 100644 --- a/cinder/tests/test_netapp.py +++ b/cinder/tests/test_netapp.py @@ -991,7 +991,7 @@ class NetAppDriverTestCase(test.TestCase): def tearDown(self): shutil.rmtree(self.tempdir) - super(NetAppDriverTestCase, self).setUp() + super(NetAppDriverTestCase, self).tearDown() def test_connect(self): self.driver.check_for_setup_error() -- 2.45.2