Author: bugman Date: Thu Oct 10 14:22:39 2013 New Revision: 21053 URL: http://svn.gna.org/viewcvs/relax?rev=21053&view=rev Log: Fix for the unit tests for the bug fix of r21051. Modified: trunk/test_suite/unit_tests/spin_testing_base.py Modified: trunk/test_suite/unit_tests/spin_testing_base.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/spin_testing_base.py?rev=21053&r1=21052&r2=21053&view=diff ============================================================================== --- trunk/test_suite/unit_tests/spin_testing_base.py (original) +++ trunk/test_suite/unit_tests/spin_testing_base.py Thu Oct 10 14:22:39 2013 @@ -409,17 +409,16 @@ def test_create_spin_fail(self): - """Test the failure of spin creation (by supplying two spins with the same number). - - The function tested is both pipe_control.mol_res_spin.create_spin() and - prompt.spin.create(). + """Test the failure of spin creation (by supplying two spins with the same name and number). + + The function tested is both pipe_control.mol_res_spin.create_spin() and prompt.spin.create(). """ # Create the first spin. self.spin_fns.create(spin_num=1, spin_name='P1', res_num=1, mol_name='Old mol') # Assert that a RelaxError occurs when the next added spin has the same number as the first. - self.assertRaises(RelaxError, self.spin_fns.create, spin_num=1, spin_name='P3', res_num=1, mol_name='Old mol') + self.assertRaises(RelaxError, self.spin_fns.create, spin_num=1, spin_name='P1', res_num=1, mol_name='Old mol') def test_delete_spin_name(self):