mailr6794 - /1.3/test_suite/unit_tests/_prompt/test_structure.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 07, 2008 - 14:37:
Author: bugman
Date: Mon Jul  7 14:35:59 2008
New Revision: 6794

URL: http://svn.gna.org/viewcvs/relax?rev=6794&view=rev
Log:
Fix for the proton arg test of the structure.vectors() user function - it's 
now the attached arg.


Modified:
    1.3/test_suite/unit_tests/_prompt/test_structure.py

Modified: 1.3/test_suite/unit_tests/_prompt/test_structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_structure.py?rev=6794&r1=6793&r2=6794&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_structure.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_structure.py Mon Jul  7 14:35:59 
2008
@@ -223,17 +223,17 @@
             self.assertRaises(RelaxStrError, self.structure_fns.read_pdb, 
parser=data[1])
 
 
-    def test_vectors_argfail_proton(self):
-        """The proton arg test of the structure.vectors() user function."""
-
-        # 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.structure_fns.vectors, 
proton=data[1])
+    def test_vectors_argfail_attached(self):
+        """The attached arg test of the structure.vectors() user function."""
+
+        # 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.structure_fns.vectors, 
attached=data[1])
 
 
     def test_vectors_argfail_spin_id(self):




Related Messages


Powered by MHonArc, Updated Mon Jul 07 14:40:13 2008