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

Function _build_fake_git_commits

tests/commands/test_check_command.py:67–68  ·  view source on GitHub ↗
(commit_msgs: list[str])

Source from the content-addressed store, hash-verified

65
66
67def _build_fake_git_commits(commit_msgs: list[str]) -> list[git.GitCommit]:
68 return [git.GitCommit("test_rev", commit_msg) for commit_msg in commit_msgs]
69
70
71def test_check_jira_fails(mocker: MockFixture, util: UtilFixture):

Calls

no outgoing calls

Tested by

no test coverage detected