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

Function test_get_commits_author_and_email

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

Source from the content-addressed store, hash-verified

124
125@pytest.mark.usefixtures("tmp_commitizen_project")
126def test_get_commits_author_and_email(util: UtilFixture):
127 util.create_file_and_commit("fix: username exception")
128 commit = git.get_commits()[0]
129
130 assert commit.author != ""
131 assert "@" in commit.author_email
132
133
134def test_get_commits_without_email(util: UtilFixture):

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…