mailr7262 - /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 September 24, 2008 - 18:51:
Author: bugman
Date: Wed Sep 24 18:51:20 2008
New Revision: 7262

URL: http://svn.gna.org/viewcvs/relax?rev=7262&view=rev
Log:
Fixed the test_count_spins() unit test.


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=7262&r1=7261&r2=7262&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 Wed Sep 24 
18:51:20 2008
@@ -487,7 +487,8 @@
         """
 
         # Test the number of spins counted.
-        self.assertEqual(mol_res_spin.count_spins(), 7)
+        self.assertEqual(mol_res_spin.count_spins(), 3)
+        self.assertEqual(mol_res_spin.count_spins(skip_desel=False), 7)
         self.assertEqual(mol_res_spin.count_spins(selection='@N5'), 2)
 
 




Related Messages


Powered by MHonArc, Updated Wed Sep 24 19:00:04 2008