Author: semor Date: Tue Jul 29 23:40:09 2008 New Revision: 7028 URL: http://svn.gna.org/viewcvs/relax?rev=7028&view=rev Log: Improved the tearDown() function so the temporary directory is deleted after the test. This follows r7026 (http://svn.gna.org/viewcvs/relax?rev=7026&view=rev) and the proposal of Edward d'Auvergne at: https://mail.gna.org/public/relax-devel/2008-07/msg00038.html (message ID: 7f080ed10807290219m18601df6nf2df7e91848a9680@xxxxxxxxxxxxxx). Modified: 1.3/test_suite/system_tests/palmer.py Modified: 1.3/test_suite/system_tests/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/palmer.py?rev=7028&r1=7027&r2=7028&view=diff ============================================================================== --- 1.3/test_suite/system_tests/palmer.py (original) +++ 1.3/test_suite/system_tests/palmer.py Tue Jul 29 23:40:09 2008 @@ -22,6 +22,7 @@ # Python module imports. import sys +from shutil import rmtree from unittest import TestCase # relax module imports. @@ -47,6 +48,9 @@ ds.__reset__() + # Remove the temporary directory created during the execution of the test_palmer() function. + rmtree(sys.path[-1] + '/test_suite/system_tests/data/temp_palmer/') + def test_palmer(self): """Test a complete model-free analysis using the program 'Modelfree4'."""