mailr6619 - /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 July 03, 2008 - 21:23:
Author: bugman
Date: Thu Jul  3 21:23:30 2008
New Revision: 6619

URL: http://svn.gna.org/viewcvs/relax?rev=6619&view=rev
Log:
Fix for the res_name arg unit test of 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=6619&r1=6618&r2=6619&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_residue.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_residue.py Thu Jul  3 21:23:30 2008
@@ -111,12 +111,12 @@
 
         # Loop over the data types.
         for data in DATA_TYPES:
-            # Catch the str arguments, and skip them.
-            if data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxStrError, self.residue_fns.create, 
res_name=data[1], res_num=1)
+            # 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.create, 
res_name=data[1], res_num=1)
 
 
     def test_create_argfail_mol_id(self):




Related Messages


Powered by MHonArc, Updated Thu Jul 03 21:40:11 2008