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

Function test_get_commits

tests/test_git.py:118–122  ·  view source on GitHub ↗
(util: UtilFixture)

Source from the content-addressed store, hash-verified

116
117@pytest.mark.usefixtures("tmp_commitizen_project")
118def test_get_commits(util: UtilFixture):
119 util.create_file_and_commit("feat(users): add username")
120 util.create_file_and_commit("fix: username exception")
121 commits = git.get_commits()
122 assert len(commits) == 2
123
124
125@pytest.mark.usefixtures("tmp_commitizen_project")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…