mailr8471 - /1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py


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

Header


Content

Posted by edward on January 15, 2009 - 14:01:
Author: bugman
Date: Thu Jan 15 14:01:40 2009
New Revision: 8471

URL: http://svn.gna.org/viewcvs/relax?rev=8471&view=rev
Log:
Deletion of the test_parse_token_range_failx() unit test.

parse_token() no longer raises RelaxErrors with invalid range tokens (as they 
are assumed to be
standard string characters instead).


Modified:
    1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py

Modified: 1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py?rev=8471&r1=8470&r2=8471&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py (original)
+++ 1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py Thu Jan 15 
14:01:40 2009
@@ -985,20 +985,6 @@
         self.assertEqual(list[5], 'Gly')
 
 
-    def test_parse_token_range_fail1(self):
-        """Failure of the generic_fns.mol_res_spin.parse_token() function on 
the string '1-5-7'."""
-
-        # Parse the invalid token.
-        self.assertRaises(RelaxError, mol_res_spin.parse_token, '1-5-7')
-
-
-    def test_parse_token_range_fail2(self):
-        """Failure of the generic_fns.mol_res_spin.parse_token() function on 
the string '1--3'."""
-
-        # Parse the invalid token.
-        self.assertRaises(RelaxError, mol_res_spin.parse_token, '1--3')
-
-
     def test_residue_loop(self):
         """Test the proper operation of the residue loop with residue 
selection.
 




Related Messages


Powered by MHonArc, Updated Thu Jan 15 15:20:04 2009