(gitconfig: GitConfig)
| 251 | |
| 252 | @pytest.mark.usefixtures("in_repo_root") |
| 253 | def test_get_commits_with_signature(gitconfig: GitConfig): |
| 254 | # temporarily turn on --show-signature |
| 255 | gitconfig.set("log.showsignature", "true") |
| 256 | |
| 257 | # retrieve a commit that we know has a signature |
| 258 | commit = git.get_commits( |
| 259 | start="bec20ebf433f2281c70f1eb4b0b6a1d0ed83e9b2", |
| 260 | end="9eae518235d051f145807ddf971ceb79ad49953a", |
| 261 | )[0] |
| 262 | |
| 263 | assert commit.title.startswith("fix") |
| 264 | |
| 265 | |
| 266 | def test_get_tag_names_has_correct_arrow_annotation(): |