MCPcopy
hub / github.com/tox-dev/tox / test_parser_hint

Function test_parser_hint

tests/config/cli/test_parser.py:118–123  ·  view source on GitHub ↗
(capsys: CaptureFixture)

Source from the content-addressed store, hash-verified

116
117
118def test_parser_hint(capsys: CaptureFixture) -> None:
119 parser = ToxParser.base()
120 with pytest.raises(SystemExit):
121 parser.parse_args("foo")
122 _out, err = capsys.readouterr()
123 assert err.endswith("hint: if you tried to pass arguments to a command use -- to separate them from tox ones\n")

Callers

nothing calls this directly

Calls 2

baseMethod · 0.80
parse_argsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…