mailr3659 - /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:57 2007
New Revision: 3659

URL: http://svn.gna.org/viewcvs/relax?rev=3659&view=rev
Log:
Implemented the res_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=3659&r1=3658&r2=3659&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:57 2007
@@ -65,8 +65,8 @@
             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):
-        """Test the proper failure of the spin.copy() user function for the 
spin_from argument."""
+    def test_copy_argfail_res_from(self):
+        """Test the proper failure of the residue.copy() user function for 
the res_from argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -75,7 +75,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxStrError, self.spin_fns.copy, 
spin_from=data[1], spin_to='#Old mol:2')
+            self.assertRaises(RelaxStrError, self.residue_fns.copy, 
res_from=data[1], res_to='#Old mol:2')
 
 
     def test_copy_argfail_pipe_to(self):




Related Messages


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