Author: bugman Date: Tue Nov 20 11:04:27 2007 New Revision: 3635 URL: http://svn.gna.org/viewcvs/relax?rev=3635&view=rev Log: Implemented the mol_id arg unit test for the molecule.delete() user function. Modified: 1.3/test_suite/unit_tests/prompt/test_molecule.py Modified: 1.3/test_suite/unit_tests/prompt/test_molecule.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_molecule.py?rev=3635&r1=3634&r2=3635&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/prompt/test_molecule.py (original) +++ 1.3/test_suite/unit_tests/prompt/test_molecule.py Tue Nov 20 11:04:27 2007 @@ -117,17 +117,17 @@ self.assertRaises(RelaxStrError, self.molecule_fns.create, mol_name=data[1]) - 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_mol_id(self): + """Test the proper failure of the molecule.delete() user function for the mol_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.molecule_fns.delete, mol_id=data[1]) def test_display_argfail_spin_id(self):