Author: bugman Date: Wed Apr 23 23:02:29 2008 New Revision: 5956 URL: http://svn.gna.org/viewcvs/relax?rev=5956&view=rev Log: Added a tearDown() clean up method for the unit tests of the PipeContainer. Modified: 1.3/test_suite/unit_tests/_data/test_pipe_container.py Modified: 1.3/test_suite/unit_tests/_data/test_pipe_container.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_data/test_pipe_container.py?rev=5956&r1=5955&r2=5956&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_data/test_pipe_container.py (original) +++ 1.3/test_suite/unit_tests/_data/test_pipe_container.py Wed Apr 23 23:02:29 2008 @@ -37,6 +37,12 @@ self.data_pipe = PipeContainer() + def tearDown(self): + """Delete the data pipe.""" + + del self.data_pipe + + def test_PipeContainer_printout(self): """Print out the contents of a data pipe, (testing the PipeContainer.__repr__() method)."""