def stop_node(self, num): LOGGER.info('Stopping node %s', num) processes = self.nodes[num] NodeController.stop_node(processes) time.sleep(1)
def tearDown(self): NodeController.stop_node(self.processes)