mailr5945 - /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 21, 2008 - 23:46:
Author: bugman
Date: Mon Apr 21 23:46:18 2008
New Revision: 5945

URL: http://svn.gna.org/viewcvs/relax?rev=5945&view=rev
Log:
Modified the unit test of the PipeContainer.is_empty() method.

The pipe type can be set in an empty pipe.


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=5945&r1=5944&r2=5945&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 Mon Apr 21 
23:46:18 2008
@@ -49,10 +49,10 @@
 
         # Reset the data pipe, and modify an object.
         self.setUp()
-        self.data_pipe.pipe_type = 'mf'
+        self.data_pipe.mol[0].name = 'Ap4Aase'
         self.assert_(not self.data_pipe.is_empty())
 
-        # Reset the data pipe, and modify another object.
+        # The pipe type can be set in the empty data pipe.
         self.setUp()
-        self.data_pipe.mol[0].name = 'Ap4Aase'
-        self.assert_(not self.data_pipe.is_empty())
+        self.data_pipe.pipe_type = 'mf'
+        self.assert_(self.data_pipe.is_empty())




Related Messages


Powered by MHonArc, Updated Tue Apr 22 00:00:19 2008