mailr8134 - /1.3/test_suite/system_tests/relax_fit.py


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

Header


Content

Posted by edward on December 04, 2008 - 16:45:
Author: bugman
Date: Thu Dec  4 16:45:33 2008
New Revision: 8134

URL: http://svn.gna.org/viewcvs/relax?rev=8134&view=rev
Log:
Bug fix for the temp dir removal in the relaxation curve-fitting system tests.

The loading of program state was resetting the relax data store, so now the 
name is also kept in
self.


Modified:
    1.3/test_suite/system_tests/relax_fit.py

Modified: 1.3/test_suite/system_tests/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/relax_fit.py?rev=8134&r1=8133&r2=8134&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/relax_fit.py (original)
+++ 1.3/test_suite/system_tests/relax_fit.py Thu Dec  4 16:45:33 2008
@@ -45,13 +45,14 @@
 
         # Create a temporary directory for dumping files.
         ds.tmpdir = mkdtemp()
+        self.tmpdir = ds.tmpdir
 
 
     def tearDown(self):
         """Reset the relax data storage object."""
 
         # Remove the temporary directory.
-        rmtree(ds.tmpdir)
+        rmtree(self.tmpdir)
 
         # Reset the relax data storage object.
         ds.__reset__()




Related Messages


Powered by MHonArc, Updated Thu Dec 04 18:00:02 2008