]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2353] Simply assertFalse() for the list
authorMukund Sivaraman <muks@isc.org>
Fri, 16 Nov 2012 05:32:46 +0000 (11:02 +0530)
committerMukund Sivaraman <muks@isc.org>
Fri, 16 Nov 2012 05:32:46 +0000 (11:02 +0530)
src/bin/bind10/tests/bind10_test.py.in

index 836e1f9b726250afe923110000c3b4c9d82db2c8..624f7196dac65bef793dd781de244b7490747791 100644 (file)
@@ -1462,7 +1462,7 @@ class TestBossComponents(unittest.TestCase):
         bob.components_to_restart = []
         # this should catch and handle the OSError
         bob.reap_children()
-        self.assertFalse(component in bob.components_to_restart)
+        self.assertFalse(bob.components_to_restart)
 
         # case where bob._get_process_exit_status() raises OSError with
         # errno other than ECHILD