mailr4120 - /branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py


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

Header


Content

Posted by edward on November 28, 2007 - 18:37:
Author: bugman
Date: Wed Nov 28 18:37:05 2007
New Revision: 4120

URL: http://svn.gna.org/viewcvs/relax?rev=4120&view=rev
Log:
Fix fro the test_init_argfail_tensor() unit test.


Modified:
    branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py

Modified: 
branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py?rev=4120&r1=4119&r2=4120&view=diff
==============================================================================
--- branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py 
(original)
+++ branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py 
Wed Nov 28 18:37:05 2007
@@ -73,8 +73,8 @@
         self.assertRaises(RelaxError, self.align_tensor_fns.copy)
 
 
-    def test_init_argfail_label(self):
-        """Failure of the label arg of the align_tensor.init() user 
function."""
+    def test_init_argfail_tensor(self):
+        """Failure of the tensor arg of the align_tensor.init() user 
function."""
 
         # Loop over the data types.
         for data in DATA_TYPES:
@@ -83,7 +83,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxStrError, self.align_tensor_fns.init, 
label=data[1])
+            self.assertRaises(RelaxStrError, self.align_tensor_fns.init, 
tensor=data[1])
 
 
     def test_init_argfail_params(self):




Related Messages


Powered by MHonArc, Updated Wed Nov 28 18:40:09 2007