From: John Griffith Date: Thu, 13 Sep 2012 14:50:09 +0000 (-0600) Subject: Should've added super().tearDown() in test_iscsi X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=974cbd718d9c66a33b8ae6b0e3c4f7dcc5563015;p=openstack-build%2Fcinder-build.git Should've added super().tearDown() in test_iscsi Made changes to use tempfiles and implemented teardown, but should have also called super().tearDown as well. Associated with chage: I9b9a2400 Change-Id: I2e9d1cb7bfbe78323630eb2f3270698a7ce7e4c4 --- diff --git a/cinder/tests/test_iscsi.py b/cinder/tests/test_iscsi.py index 362ddf0b7..32a1309dd 100644 --- a/cinder/tests/test_iscsi.py +++ b/cinder/tests/test_iscsi.py @@ -104,6 +104,7 @@ class TgtAdmTestCase(test.TestCase, TargetAdminTestCase): shutil.rmtree(self.persist_tempdir) except OSError: pass + super(TgtAdmTestCase, self).tearDown() class IetAdmTestCase(test.TestCase, TargetAdminTestCase):