Author: bugman Date: Tue Nov 20 13:36:43 2007 New Revision: 3660 URL: http://svn.gna.org/viewcvs/relax?rev=3660&view=rev Log: Implemented the pipe_to arg unit test for the residue.copy() 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=3660&r1=3659&r2=3660&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:36:43 2007 @@ -79,16 +79,16 @@ def test_copy_argfail_pipe_to(self): - """Test the proper failure of the spin.copy() user function for the pipe_to argument.""" - - # Loop over the data types. - for data in return_data_types(): - # Catch the None and str arguments, and skip them. - if data[0] == 'None' or data[0] == 'str': - continue - - # The argument test. - self.assertRaises(RelaxNoneStrError, self.spin_fns.copy, pipe_to=data[1], spin_from='#Old mol:1@111', spin_to='#Old mol:2') + """Test the proper failure of the residue.copy() user function for the pipe_to argument.""" + + # Loop over the data types. + for data in return_data_types(): + # Catch the None and str arguments, and skip them. + if data[0] == 'None' or data[0] == 'str': + continue + + # The argument test. + self.assertRaises(RelaxNoneStrError, self.residue_fns.copy, pipe_to=data[1], res_from='#Old mol:1', res_to='#Old mol:2') def test_copy_argfail_spin_to(self):