mailr27849 - /trunk/test_suite/unit_tests/spin_testing_base.py


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

Header


Content

Posted by tlinnet on June 13, 2015 - 14:00:
Author: tlinnet
Date: Sat Jun 13 14:00:39 2015
New Revision: 27849

URL: http://svn.gna.org/viewcvs/relax?rev=27849&view=rev
Log:
Added unittest that shows the trickers the bug.

Test added in test_delete_spin_all, and can be accessed with: relax -u 
_pipe_control.test_spin.

Bug #23642 (https://gna.org/bugs/index.php?23642): When deleting all spins 
for a residue, an empty placeholder is where select=True

Modified:
    trunk/test_suite/unit_tests/spin_testing_base.py

Modified: trunk/test_suite/unit_tests/spin_testing_base.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/spin_testing_base.py?rev=27849&r1=27848&r2=27849&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/spin_testing_base.py    (original)
+++ trunk/test_suite/unit_tests/spin_testing_base.py    Sat Jun 13 14:00:39 
2015
@@ -475,6 +475,7 @@
         # Test that the first spin defaults back to the empty spin.
         self.assertEqual(dp.mol[0].res[0].spin[0].num, None)
         self.assertEqual(dp.mol[0].res[0].spin[0].name, None)
+        self.assertEqual(dp.mol[0].res[0].spin[0].select, False)
 
 
     def test_delete_spin_shift(self):




Related Messages


Powered by MHonArc, Updated Sat Jun 13 14:20:03 2015