mailr3771 - /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 21, 2007 - 18:25:
Author: bugman
Date: Wed Nov 21 18:25:50 2007
New Revision: 3771

URL: http://svn.gna.org/viewcvs/relax?rev=3771&view=rev
Log:
Changed the params arg align_tensor.init() user function unit test to expect 
a tuple.


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=3771&r1=3770&r2=3771&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 21 18:25:50 2007
@@ -27,7 +27,7 @@
 # relax module imports.
 from data_types import return_data_types
 from prompt.align_tensor import Align_tensor
-from relax_errors import RelaxBinError, RelaxIntError, RelaxListFloatError
+from relax_errors import RelaxBinError, RelaxIntError, RelaxNumTupleError
 from test_suite.unit_tests.align_tensor_testing_base import 
Align_tensor_base_class
 
 # Set the variable sys.ps3 (this is required by the user functions).
@@ -57,11 +57,11 @@
         # Loop over the data types.
         for data in return_data_types():
             # Catch the float list arguments, and skip them.
-            if data[0] == 'float list':
+            if data[0] == 'float tuple':
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxListFloatError, 
self.align_tensor_fns.init, params=data[1])
+            self.assertRaises(RelaxNumTupleError, 
self.align_tensor_fns.init, params=data[1])
 
 
     def test_init_argfail_param_types(self):




Related Messages


Powered by MHonArc, Updated Wed Nov 21 18:40:17 2007