(util: UtilFixture)
| 124 | |
| 125 | @pytest.mark.usefixtures("tmp_commitizen_project") |
| 126 | def 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 | |
| 134 | def test_get_commits_without_email(util: UtilFixture): |
nothing calls this directly
no test coverage detected
searching dependent graphs…