Author: bugman Date: Sun Nov 11 13:26:26 2007 New Revision: 3483 URL: http://svn.gna.org/viewcvs/relax?rev=3483&view=rev Log: Added another check in the spin.copy unit test 'test_copy_fail'. Modified: 1.3/test_suite/unit_tests/generic_fns/test_spin.py Modified: 1.3/test_suite/unit_tests/generic_fns/test_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/generic_fns/test_spin.py?rev=3483&r1=3482&r2=3483&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/generic_fns/test_spin.py (original) +++ 1.3/test_suite/unit_tests/generic_fns/test_spin.py Sun Nov 11 13:26:26 2007 @@ -199,6 +199,9 @@ # Copy a non-existent spin (1 Ala, @234). self.assertRaises(RelaxError, spin.copy, spin_from=':Ala@234', spin_to=':2,Gly') + # Copy to a non-existent residue (3). + self.assertRaises(RelaxError, spin.copy, spin_from='#Old mol:1@111', spin_to='#Old mol:3') + # Copy a spin to a number which already exists. self.assertRaises(RelaxError, spin.copy, spin_from=':1', spin_to=':2@78')