Author: bugman Date: Tue Nov 20 13:44:02 2007 New Revision: 3668 URL: http://svn.gna.org/viewcvs/relax?rev=3668&view=rev Log: Implemented the new_name arg unit test for the residue.rename() 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=3668&r1=3667&r2=3668&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:44:02 2007 @@ -183,16 +183,16 @@ def test_rename_argfail_new_name(self): - """Test the proper failure of the spin.rename() user function for the new_name 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.rename, new_name=data[1]) + """Test the proper failure of the residue.rename() user function for the new_name 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.rename, new_name=data[1]) def test_renumber_argfail_spin_id(self):