MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / test_cli_no_args_prints_help

Function test_cli_no_args_prints_help

tests/test_cli.py:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60@pytest.mark.unit
61def test_cli_no_args_prints_help() -> None:
62 result = runner.invoke(app, [])
63 # Typer with no_args_is_help=True exits with code 2 after printing help.
64 assert result.exit_code in (0, 2)
65 assert "paperflow" in result.stdout.lower() or "paperflow" in result.output.lower()
66
67
68@pytest.mark.unit

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected