mailr19234 - /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:17:
Author: bugman
Date: Wed Mar 27 15:17:19 2013
New Revision: 19234

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

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

.....
  r8676 | semor | 2009-01-27 16:40:44 +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 for the relaxation dispersion code.
.....


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=19234&r1=19233&r2=19234&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:17:19 2013
@@ -102,3 +102,16 @@
 
         # The argument test.
         self.assertRaises(RelaxStrError, self.relax_disp_fns.exp_type, 
exp=data[1])
+
+
+    def test_relax_select_model_argfail_model(self):
+        """The model arg test of the relax_disp.select_model() 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.select_model, 
model=data[1])




Related Messages


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