mailr3661 - /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:37:
Author: bugman
Date: Tue Nov 20 13:37:17 2007
New Revision: 3661

URL: http://svn.gna.org/viewcvs/relax?rev=3661&view=rev
Log:
Implemented the res_to 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=3661&r1=3660&r2=3661&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:37:17 2007
@@ -91,8 +91,8 @@
             self.assertRaises(RelaxNoneStrError, self.residue_fns.copy, 
pipe_to=data[1], res_from='#Old mol:1', res_to='#Old mol:2')
 
 
-    def test_copy_argfail_spin_to(self):
-        """Test the proper failure of the spin.copy() user function for the 
spin_to argument."""
+    def test_copy_argfail_res_to(self):
+        """Test the proper failure of the residue.copy() user function for 
the res_to argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -101,7 +101,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.spin_fns.copy, 
spin_from='#Old mol:1@111', spin_to=data[1])
+            self.assertRaises(RelaxNoneStrError, self.residue_fns.copy, 
res_from='#Old mol:1@111', res_to=data[1])
 
 
     def test_create_argfail_spin_num(self):




Related Messages


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