Skip to content

Commit

Permalink
fix: disable gpg signing for commit finder tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Selwyn-Smith <[email protected]>
  • Loading branch information
benmss committed Dec 9, 2024
1 parent fd17eaa commit 6f2f536
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/repo_finder/test_commit_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ def test_commit_finder() -> None:
"initial_branch": "master",
},
)
# Disable gpg signing of tags for this repository to input prompt hang.
with git_obj.repo.config_writer() as git_config:
git_config.set_value("tag", "gpgsign", "false")

# Create a commit from a newly created file.
with open(os.path.join(REPO_DIR, "file_1"), "w", encoding="utf-8") as file:
Expand Down

0 comments on commit 6f2f536

Please sign in to comment.