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

Function test_no_argv

tests/test_cli.py:46–51  ·  view source on GitHub ↗
(util: UtilFixture, capsys, file_regression)

Source from the content-addressed store, hash-verified

44
45@pytest.mark.usefixtures("python_version", "consistent_terminal_output")
46def test_no_argv(util: UtilFixture, capsys, file_regression):
47 with pytest.raises(ExpectedExit):
48 util.run_cli()
49 out, err = capsys.readouterr()
50 assert out == ""
51 file_regression.check(err, extension=".txt")
52
53
54@pytest.mark.parametrize(

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…