mailr19233 - /branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py


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

Header


Content

Posted by edward on March 27, 2013 - 15:16:
Author: bugman
Date: Wed Mar 27 15:16:44 2013
New Revision: 19233

URL: http://svn.gna.org/viewcvs/relax?rev=19233&view=rev
Log:
Ported r8675 from the old relax_disp branch into the new branch.

The command used was:
svn merge -r8674:8675 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/branches/relax_disp@r18123 .

.....
  r8675 | semor | 2009-01-27 16:34:02 +0100 (Tue, 27 Jan 2009) | 3 lines
  Changed paths:
     M /branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py
  
  One more unit test.
.....


Modified:
    branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py

Modified: branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py?rev=19233&r1=19232&r2=19233&view=diff
==============================================================================
--- branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py 
(original)
+++ branches/relax_disp/test_suite/unit_tests/_prompt/test_relax_disp.py Wed 
Mar 27 15:16:44 2013
@@ -77,6 +77,7 @@
         # The argument test.
         self.assertRaises(RelaxNoneNumError, self.relax_disp_fns.cpmg_frq, 
cpmg_frq=data[1])
 
+
     def test_relax_cpmg_frq_argfail_spectrum_id(self):
         """The spectrum_id arg test of the relax_disp.cpmg_frq() user 
function."""
 
@@ -88,3 +89,16 @@
 
         # The argument test.
         self.assertRaises(RelaxStrError, self.relax_disp_fns.cpmg_frq, 
spectrum_id=data[1])
+
+
+    def test_relax_exp_type_argfail_exp(self):
+        """The exp arg test of the relax_disp.exp_type() 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.relax_disp_fns.exp_type, 
exp=data[1])




Related Messages


Powered by MHonArc, Updated Wed Mar 27 15:20:03 2013