Author: bugman Date: Sun Nov 11 13:08:31 2007 New Revision: 3478 URL: http://svn.gna.org/viewcvs/relax?rev=3478&view=rev Log: More fixes for the data setup for the spin.copy() unit function tests. 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=3478&r1=3477&r2=3478&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:08:31 2007 @@ -81,7 +81,8 @@ cdp.mol.add_item('New mol') # Create the first and second residue of the second molecule and add some data to its spin container. - cdp.mol[1].res.add_item(5, 'Lys') + cdp.mol[1].res[0].num = 5 + cdp.mol[1].res[0].name = 'Lys' cdp.mol[1].res[0].spin[0].num = 239 cdp.mol[1].res[0].spin[0].name = 'NH' cdp.mol[1].res.add_item(6, 'Thr')