[PATCH 02/17] Reset the devicetree before tearing everything down in _cleanUp.

David Lehman dlehman at redhat.com
Thu Jun 5 16:47:22 UTC 2014


---
 tests/imagebackedtestcase.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/imagebackedtestcase.py b/tests/imagebackedtestcase.py
index ae190a1..9e75e43 100644
--- a/tests/imagebackedtestcase.py
+++ b/tests/imagebackedtestcase.py
@@ -98,6 +98,7 @@ class ImageBackedTestCase(unittest.TestCase):
 
     def _cleanUp(self):
         """ Clean up any resources that may have been set up for a test. """
+        self.blivet.reset()
         self.blivet.devicetree.teardownDiskImages()
         for fn in self.blivet.config.diskImages.values():
             if os.path.exists(fn):
-- 
1.9.0



More information about the anaconda-patches mailing list