From: Mukund Sivaraman Date: Mon, 26 Mar 2012 06:06:00 +0000 (+0530) Subject: bug #1819: Add some comments to testcases X-Git-Tag: trac2351_base~226^2~116^2~95^2~4^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad40537d9f91fcf489d3e9a313a73385ed5fb241;p=thirdparty%2Fkea.git bug #1819: Add some comments to testcases --- diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in index 2552179494..fa01d11cea 100644 --- a/src/bin/bind10/tests/bind10_test.py.in +++ b/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