mailr5956 - /1.3/test_suite/unit_tests/_data/test_pipe_container.py


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

Header


Content

Posted by edward on April 23, 2008 - 23:18:
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)."""
 




Related Messages


Powered by MHonArc, Updated Wed Apr 23 23:20:13 2008