Author: bugman Date: Tue Nov 20 13:40:35 2007 New Revision: 3665 URL: http://svn.gna.org/viewcvs/relax?rev=3665&view=rev Log: Implemented the res_id arg unit test for the residue.create() user function. Modified: 1.3/test_suite/unit_tests/prompt/test_residue.py Modified: 1.3/test_suite/unit_tests/prompt/test_residue.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_residue.py?rev=3665&r1=3664&r2=3665&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/prompt/test_residue.py (original) +++ 1.3/test_suite/unit_tests/prompt/test_residue.py Tue Nov 20 13:40:35 2007 @@ -143,17 +143,17 @@ self.assertRaises(RelaxNoneStrError, self.residue_fns.create, mol_id=data[1], res_num=1, res_name='NH') - def test_delete_argfail_spin_id(self): - """Test the proper failure of the spin.delete() user function for the spin_id argument.""" - - # Loop over the data types. - for data in return_data_types(): - # Catch the str arguments, and skip them. - if data[0] == 'str': - continue - - # The argument test. - self.assertRaises(RelaxStrError, self.spin_fns.delete, spin_id=data[1]) + def test_delete_argfail_res_id(self): + """Test the proper failure of the residue.delete() user function for the res_id argument.""" + + # Loop over the data types. + for data in return_data_types(): + # Catch the str arguments, and skip them. + if data[0] == 'str': + continue + + # The argument test. + self.assertRaises(RelaxStrError, self.residue_fns.delete, res_id=data[1]) def test_display_argfail_spin_id(self):