mailr8497 - /branches/multi_structure/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 January 16, 2009 - 13:53:
Author: bugman
Date: Fri Jan 16 13:53:24 2009
New Revision: 8497

URL: http://svn.gna.org/viewcvs/relax?rev=8497&view=rev
Log:
Fix for the struct_index arg unit test of structure.vectors().

The arg is now called 'model'.


Modified:
    branches/multi_structure/test_suite/unit_tests/_prompt/test_structure.py

Modified: 
branches/multi_structure/test_suite/unit_tests/_prompt/test_structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/test_suite/unit_tests/_prompt/test_structure.py?rev=8497&r1=8496&r2=8497&view=diff
==============================================================================
--- branches/multi_structure/test_suite/unit_tests/_prompt/test_structure.py 
(original)
+++ branches/multi_structure/test_suite/unit_tests/_prompt/test_structure.py 
Fri Jan 16 13:53:24 2009
@@ -287,8 +287,8 @@
             self.assertRaises(RelaxNoneStrError, self.structure_fns.vectors, 
spin_id=data[1])
 
 
-    def test_vectors_argfail_struct_index(self):
-        """The struct_index arg test of the structure.vectors() user 
function."""
+    def test_vectors_argfail_model(self):
+        """The model arg test of the structure.vectors() user function."""
 
         # Loop over the data types.
         for data in DATA_TYPES:
@@ -297,7 +297,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneIntError, self.structure_fns.vectors, 
struct_index=data[1])
+            self.assertRaises(RelaxNoneIntError, self.structure_fns.vectors, 
model=data[1])
 
 
     def test_vectors_argfail_verbosity(self):




Related Messages


Powered by MHonArc, Updated Fri Jan 16 17:00:04 2009