From 6f2f5367c31f51c901718f2754fb92bcbb173b35 Mon Sep 17 00:00:00 2001 From: Ben Selwyn-Smith Date: Mon, 9 Dec 2024 11:53:17 +1000 Subject: [PATCH] fix: disable gpg signing for commit finder tests Signed-off-by: Ben Selwyn-Smith --- tests/repo_finder/test_commit_finder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/repo_finder/test_commit_finder.py b/tests/repo_finder/test_commit_finder.py index 925fdf20d..6458328f2 100644 --- a/tests/repo_finder/test_commit_finder.py +++ b/tests/repo_finder/test_commit_finder.py @@ -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: