Author: bugman Date: Tue Nov 20 11:27:32 2007 New Revision: 3641 URL: http://svn.gna.org/viewcvs/relax?rev=3641&view=rev Log: Removed the 2 molecule.renumber() tests (currently spin.renumber()) as molecules aren't numbered. 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=3641&r1=3640&r2=3641&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:27:32 2007 @@ -167,34 +167,3 @@ # The argument test. self.assertRaises(RelaxStrError, self.molecule_fns.rename, new_name=data[1]) - - - def test_renumber_argfail_spin_id(self): - """Test the proper failure of the spin.renumber() 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.renumber, spin_id=data[1]) - - - def test_renumber_argfail_new_name(self): - """Test the proper failure of the spin.renumber() user function for the new_number argument.""" - - # Loop over the data types. - for data in return_data_types(): - # Catch the int and bin arguments, and skip them. - if data[0] == 'int' or data[0] == 'bin': - continue - - # The argument test. - self.assertRaises(RelaxIntError, self.spin_fns.renumber, spin_id='@111', new_number=data[1]) - - - - -