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