mailr7189 - /branches/rdc_analysis/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 August 12, 2008 - 17:49:
Author: bugman
Date: Tue Aug 12 17:49:53 2008
New Revision: 7189

URL: http://svn.gna.org/viewcvs/relax?rev=7189&view=rev
Log:
Fix for the test_display_argfail_tensor() unit test.


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

Modified: 
branches/rdc_analysis/test_suite/unit_tests/_prompt/test_align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/test_suite/unit_tests/_prompt/test_align_tensor.py?rev=7189&r1=7188&r2=7189&view=diff
==============================================================================
--- branches/rdc_analysis/test_suite/unit_tests/_prompt/test_align_tensor.py 
(original)
+++ branches/rdc_analysis/test_suite/unit_tests/_prompt/test_align_tensor.py 
Tue Aug 12 17:49:53 2008
@@ -118,12 +118,12 @@
 
         # Loop over the data types.
         for data in DATA_TYPES:
-            # Catch the str argument, and skip it.
-            if data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxStrError, self.align_tensor_fns.display, 
tensor=data[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.align_tensor_fns.display, tensor=data[1])
 
 
     def test_init_argfail_tensor(self):




Related Messages


Powered by MHonArc, Updated Wed Aug 13 00:00:26 2008