mailr3662 - /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:38:
Author: bugman
Date: Tue Nov 20 13:38:28 2007
New Revision: 3662

URL: http://svn.gna.org/viewcvs/relax?rev=3662&view=rev
Log:
Implemented the res_num arg unit test for the residue.create() 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=3662&r1=3661&r2=3662&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:38:28 2007
@@ -104,8 +104,8 @@
             self.assertRaises(RelaxNoneStrError, self.residue_fns.copy, 
res_from='#Old mol:1@111', res_to=data[1])
 
 
-    def test_create_argfail_spin_num(self):
-        """Test the proper failure of the spin.create() user function for 
the spin_num argument."""
+    def test_create_argfail_res_num(self):
+        """Test the proper failure of the residue.create() user function for 
the res_num argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -114,7 +114,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxIntError, self.spin_fns.create, 
spin_num=data[1], spin_name='NH')
+            self.assertRaises(RelaxIntError, self.residue_fns.create, 
res_num=data[1], res_name='NH')
 
 
     def test_create_argfail_spin_name(self):




Related Messages


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