Author: bugman Date: Wed Jul 9 11:52:45 2008 New Revision: 6868 URL: http://svn.gna.org/viewcvs/relax?rev=6868&view=rev Log: Fix for the model arg of the n_state_model.select_model() user function. Modified: branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py Modified: branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py?rev=6868&r1=6867&r2=6868&view=diff ============================================================================== --- branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py (original) +++ branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py Wed Jul 9 11:52:45 2008 @@ -183,17 +183,17 @@ self.assertRaises(RelaxStrError, self.n_state_model_fns.ref_domain, ref=data[1]) - def test_setup_model_argfail_model(self): - """Failure of the model arg of the n_state_model.setup_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.n_state_model_fns.setup_model, model=data[1]) + def test_select_model_argfail_model(self): + """Failure of the model arg of the n_state_model.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.n_state_model_fns.select_model, model=data[1]) def test_set_domain_argfail_tensor(self):