MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_commit

Function test_commit

tests/commands/test_commit_command.py:62–64  ·  view source on GitHub ↗
(config, success_mock: MockType)

Source from the content-addressed store, hash-verified

60
61@pytest.mark.usefixtures("staging_is_clean", "commit_mock", "prompt_mock_feat")
62def test_commit(config, success_mock: MockType):
63 commands.Commit(config, {})()
64 success_mock.assert_called_once()
65
66
67@pytest.mark.usefixtures("staging_is_clean")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected