MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / test_unknown_args_raises

Function test_unknown_args_raises

tests/test_cli.py:185–189  ·  view source on GitHub ↗
(util: UtilFixture)

Source from the content-addressed store, hash-verified

183
184
185def test_unknown_args_raises(util: UtilFixture):
186 with pytest.raises(
187 InvalidCommandArgumentError, match="Invalid commitizen arguments were found"
188 ):
189 util.run_cli("c", "-this_arg_is_not_supported")
190
191
192def test_unknown_args_before_double_dash_raises(util: UtilFixture):

Callers

nothing calls this directly

Calls 1

run_cliMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…