mailr3669 - /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:44:
Author: bugman
Date: Tue Nov 20 13:44:42 2007
New Revision: 3669

URL: http://svn.gna.org/viewcvs/relax?rev=3669&view=rev
Log:
Implemented the res_id arg unit test for the residue.renumber() 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=3669&r1=3668&r2=3669&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:44:42 2007
@@ -195,17 +195,17 @@
             self.assertRaises(RelaxStrError, self.residue_fns.rename, 
new_name=data[1])
 
 
-    def test_renumber_argfail_spin_id(self):
-        """Test the proper failure of the spin.renumber() user function for 
the spin_id argument."""
-
-        # Loop over the data types.
-        for data in return_data_types():
-            # Catch the str arguments, and skip them.
-            if data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxStrError, self.spin_fns.renumber, 
spin_id=data[1])
+    def test_renumber_argfail_res_id(self):
+        """Test the proper failure of the residue.renumber() user function 
for the res_id argument."""
+
+        # Loop over the data types.
+        for data in return_data_types():
+            # Catch the str arguments, and skip them.
+            if data[0] == 'str':
+                continue
+
+            # The argument test.
+            self.assertRaises(RelaxStrError, self.residue_fns.renumber, 
res_id=data[1])
 
 
     def test_renumber_argfail_new_name(self):




Related Messages


Powered by MHonArc, Updated Tue Nov 20 14:00:18 2007