Author: semor Date: Tue Jan 27 16:40:44 2009 New Revision: 8676 URL: http://svn.gna.org/viewcvs/relax?rev=8676&view=rev Log: 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=8676&r1=8675&r2=8676&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 Tue Jan 27 16:40:44 2009 @@ -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])