(args: list[str])
| 65 | |
| 66 | |
| 67 | async def _run_cli(args: list[str]) -> SimpleNamespace: |
| 68 | stdout = io.StringIO() |
| 69 | stderr = io.StringIO() |
| 70 | with contextlib.redirect_stdout(stdout), contextlib.redirect_stderr(stderr): |
| 71 | exit_code = await cli_module.run_cli_async(args) |
| 72 | return SimpleNamespace(exit_code=exit_code, output=stdout.getvalue() + stderr.getvalue()) |
| 73 | |
| 74 | |
| 75 | @pytest.mark.asyncio |
no outgoing calls
no test coverage detected
searching dependent graphs…