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

Function test_parse_known_args_not_set

tests/config/cli/test_parser.py:111–115  ·  view source on GitHub ↗
(mocker: MockerFixture)

Source from the content-addressed store, hash-verified

109
110
111def test_parse_known_args_not_set(mocker: MockerFixture) -> None:
112 mocker.patch.object(sys, "argv", ["a", "--help"])
113 parser = ToxParser.base()
114 _, unknown = parser.parse_known_args(None)
115 assert unknown == ["--help"]
116
117
118def test_parser_hint(capsys: CaptureFixture) -> None:

Callers

nothing calls this directly

Calls 2

baseMethod · 0.80
parse_known_argsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…