mailr3658 - /1.3/test_suite/unit_tests/prompt/test_residue.py


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

Header


Content

Posted by edward on November 20, 2007 - 13:35:
Author: bugman
Date: Tue Nov 20 13:35:21 2007
New Revision: 3658

URL: http://svn.gna.org/viewcvs/relax?rev=3658&view=rev
Log:
Implemented the pipe_from arg unit test for the residue.copy() user function.


Modified:
    1.3/test_suite/unit_tests/prompt/test_residue.py

Modified: 1.3/test_suite/unit_tests/prompt/test_residue.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_residue.py?rev=3658&r1=3657&r2=3658&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/prompt/test_residue.py (original)
+++ 1.3/test_suite/unit_tests/prompt/test_residue.py Tue Nov 20 13:35:21 2007
@@ -53,16 +53,16 @@
 
 
     def test_copy_argfail_pipe_from(self):
-        """Test the proper failure of the spin.copy() user function for the 
pipe_from argument."""
-
-        # Loop over the data types.
-        for data in return_data_types():
-            # Catch the None and str arguments, and skip them.
-            if data[0] == 'None' or data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.spin_fns.copy, 
pipe_from=data[1], spin_from='#Old mol:1@111', spin_to='#Old mol:2')
+        """Test the proper failure of the residue.copy() user function for 
the pipe_from argument."""
+
+        # Loop over the data types.
+        for data in return_data_types():
+            # Catch the None and str arguments, and skip them.
+            if data[0] == 'None' or data[0] == 'str':
+                continue
+
+            # The argument test.
+            self.assertRaises(RelaxNoneStrError, self.residue_fns.copy, 
pipe_from=data[1], res_from='#Old mol:1', res_to='#Old mol:2')
 
 
     def test_copy_argfail_spin_from(self):




Related Messages


Powered by MHonArc, Updated Tue Nov 20 13:40:09 2007