mailr24058 - /trunk/test_suite/verification_tests/library.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 17, 2014 - 19:46:
Author: bugman
Date: Tue Jun 17 19:46:10 2014
New Revision: 24058

URL: http://svn.gna.org/viewcvs/relax?rev=24058&view=rev
Log:
Fix for the Library.test_library_independence verification test on MS Windows.

The tearDown() method now uses the error handling 
test_suite.clean_up.deletion() function to remove
the copied version of the relax library.


Modified:
    trunk/test_suite/verification_tests/library.py

Modified: trunk/test_suite/verification_tests/library.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/verification_tests/library.py?rev=24058&r1=24057&r2=24058&view=diff
==============================================================================
--- trunk/test_suite/verification_tests/library.py      (original)
+++ trunk/test_suite/verification_tests/library.py      Tue Jun 17 19:46:10 
2014
@@ -32,6 +32,7 @@
 
 # relax module imports.
 from status import Status; status = Status()
+from test_suite.clean_up import deletion
 
 
 class Library(TestCase):
@@ -48,7 +49,7 @@
         """Clean up after the library tests."""
 
         # Remove the temporary directory and all its contents.
-        rmtree(self.tmpdir)
+        deletion(obj=self, name='tmpdir', dir=True)
 
 
     def test_library_independence(self):




Related Messages


Powered by MHonArc, Updated Tue Jun 17 20:40:03 2014