Code Review
/
openstack-build
/
cinder-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4c52cd0
)
Fix calling setUp() method of superclass from tearDown method.
author
Rushi Agrawal
<rushi.agr@gmail.com>
Wed, 6 Mar 2013 00:00:39 +0000
(
05:30
+0530)
committer
Rushi Agrawal
<rushi.agr@gmail.com>
Wed, 6 Mar 2013 00:00:39 +0000
(
05:30
+0530)
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
patch
|
blob
|
history
diff --git
a/cinder/tests/test_netapp.py
b/cinder/tests/test_netapp.py
index f13ab6a4a219711532579b7f087d537025cb55b3..15f4242c14a984dfffab7118a81d368648491d53 100644
(file)
--- 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()