Browse Source

bug #1819: Add some comments to testcases

Mukund Sivaraman 13 years ago
parent
commit
ad40537d9f
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/bin/bind10/tests/bind10_test.py.in

+ 10 - 0
src/bin/bind10/tests/bind10_test.py.in

@@ -1204,7 +1204,12 @@ class TestBossComponents(unittest.TestCase):
         bob.shutdown()
 
         self.assertTrue(bob.ccs.stopped)
+
+        # Here, killed is an array where False is added if SIGTERM
+        # should be sent, or True if SIGKILL should be sent, in order in
+        # which they're sent.
         self.assertEqual([False, True], killed)
+
         self.assertTrue(self.__called)
 
         bob._component_configurator.shutdown = orig
@@ -1247,7 +1252,12 @@ class TestBossComponents(unittest.TestCase):
         bob.shutdown()
 
         self.assertTrue(bob.ccs.stopped)
+
+        # Here, killed is an array where False is added if SIGTERM
+        # should be sent, or True if SIGKILL should be sent, in order in
+        # which they're sent.
         self.assertEqual([], killed)
+
         self.assertTrue(self.__called)
 
         bob._component_configurator.shutdown = orig