Author: semor Date: Tue Jul 29 23:20:16 2008 New Revision: 7027 URL: http://svn.gna.org/viewcvs/relax?rev=7027&view=rev Log: Added the setUp() and tearDown() functions to the palmer system test code. 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=7027&r1=7026&r2=7027&view=diff ============================================================================== --- 1.3/test_suite/system_tests/palmer.py (original) +++ 1.3/test_suite/system_tests/palmer.py Tue Jul 29 23:20:16 2008 @@ -25,6 +25,7 @@ from unittest import TestCase # relax module imports. +from data import Relax_data_store; ds = Relax_data_store() from relax_io import test_binary @@ -32,6 +33,20 @@ """Class for testing various aspects specific to model-free analysis using the program 'Modelfree4'. """ + + + def setUp(self): + """Set up for all the functional tests.""" + + # Create the data pipe. + self.relax.interpreter._Pipe.create('palmer', 'mf') + + + def tearDown(self): + """Reset the relax data storage object.""" + + ds.__reset__() + def test_palmer(self): """Test a complete model-free analysis using the program 'Modelfree4'."""