(self, *args, **kwargs)
| 595 | def test_in_script(request) -> None: |
| 596 | class HookApp(cmd2.Cmd): |
| 597 | def __init__(self, *args, **kwargs) -> None: |
| 598 | super().__init__(*args, **kwargs) |
| 599 | self.register_cmdfinalization_hook(self.hook) |
| 600 | |
| 601 | def hook(self: cmd2.Cmd, data: plugin.CommandFinalizationData) -> plugin.CommandFinalizationData: |
| 602 | if self.in_script(): |
nothing calls this directly
no test coverage detected