mailr3602 - /1.3/test_suite/unit_tests/prompt/test_spin.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 18, 2007 - 23:46:
Author: bugman
Date: Sun Nov 18 23:46:49 2007
New Revision: 3602

URL: http://svn.gna.org/viewcvs/relax?rev=3602&view=rev
Log:
Bug fix for the unit test of the pipe_from argument of the spin.copy() user 
function.


Modified:
    1.3/test_suite/unit_tests/prompt/test_spin.py

Modified: 1.3/test_suite/unit_tests/prompt/test_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_spin.py?rev=3602&r1=3601&r2=3602&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/prompt/test_spin.py (original)
+++ 1.3/test_suite/unit_tests/prompt/test_spin.py Sun Nov 18 23:46:49 2007
@@ -27,7 +27,7 @@
 from data import Data as relax_data_store
 from data_types import return_data_types
 from prompt.spin import Spin
-from relax_errors import RelaxError, RelaxNoPipeError
+from relax_errors import RelaxError, RelaxNoPipeError, RelaxNoneStrError
 from test_suite.unit_tests.spin_testing_base import Spin_base_class
 
 
@@ -55,4 +55,4 @@
         # Loop over the data types.
         for data in return_data_types():
             # Copy a spin to a number which already exists.
-            self.assertRaises(RelaxError, self.spin_fns.copy, 
pipe_from=data, spin_from='#Old mol:1@111', spin_to='#Old mol:2')
+            self.assertRaises(RelaxNoneStrError, self.spin_fns.copy, 
pipe_from=data[1], spin_from='#Old mol:1@111', spin_to='#Old mol:2')




Related Messages


Powered by MHonArc, Updated Mon Nov 19 00:00:16 2007