def test__on_taskrun(self):
        def _method(path):
            if not 'block' in self.plugin.paths:
                self.plugin.paths['block'] = set()
            self.plugin.paths['block'].add(path)
            self.plugin.on_taskrun(self.task)
        self.assertTrue(self._kill_app(_method, process_count=3))
AppBlock.on_taskrun: configured running apps are closed.
dataset/ETHPy150Open xtrementl/focus/tests/unit/plugin/modules/test_apps.py/TestAppBlock.test__on_taskrun