Parcourir la source

[2353] Simply assertFalse() for the list

Mukund Sivaraman il y a 12 ans
Parent
commit
84fbdaeddb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/bin/bind10/tests/bind10_test.py.in

+ 1 - 1
src/bin/bind10/tests/bind10_test.py.in

@@ -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