Browse Source

[2353] Simply assertFalse() for the list

Mukund Sivaraman 12 years ago
parent
commit
84fbdaeddb
1 changed files with 1 additions and 1 deletions
  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