MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_serve_subcommand_help

Method test_serve_subcommand_help

tests/test_usage_modes.py:97–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 assert "spend" in r.stdout
96
97 def test_serve_subcommand_help(self) -> None:
98 r = run_cli(["serve", "--help"])
99 assert r.returncode == 0
100 assert "Usage: uncommon-route serve" in r.stdout
101 assert "Start the local proxy server." in r.stdout
102
103 def test_subcommand_help_allows_prior_flags(self) -> None:
104 r = run_cli(["init", "--lang", "zh", "--help"])

Callers

nothing calls this directly

Calls 1

run_cliFunction · 0.85

Tested by

no test coverage detected