mailr5501 - /1.3/test_suite/unit_tests/_generic_fns/test_selection.py


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

Header


Content

Posted by edward on April 09, 2008 - 14:43:
Author: bugman
Date: Wed Apr  9 14:43:36 2008
New Revision: 5501

URL: http://svn.gna.org/viewcvs/relax?rev=5501&view=rev
Log:
Bug fix for the test_return_spin() unit test.

selection.return_spin() should return nothing if the SpinContainer is empty.


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

Modified: 1.3/test_suite/unit_tests/_generic_fns/test_selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/test_selection.py?rev=5501&r1=5500&r2=5501&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_generic_fns/test_selection.py (original)
+++ 1.3/test_suite/unit_tests/_generic_fns/test_selection.py Wed Apr  9 
14:43:36 2008
@@ -789,10 +789,8 @@
         self.assertEqual(spin2.num, 63)
         self.assertEqual(spin2.name, 'NH')
 
-        # Test the data of spin 3.
-        self.assertNotEqual(spin3, None)
-        self.assertEqual(spin3.num, None)
-        self.assertEqual(spin3.name, None)
+        # Test the data of spin 3 (there is none!).
+        self.assertEqual(spin3, None)
 
         # Test the data of the RNA res -5, spin N5.
         self.assertNotEqual(spin4, None)




Related Messages


Powered by MHonArc, Updated Wed Apr 09 16:00:19 2008