Skip to content

Commit 53319c3

Browse files
committed
Force gpgsign to false in run_task tests
This prevents tests from asking to sign dummy commits on that repo if there's a global gpgsign config set
1 parent fa30e4b commit 53319c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/test_scripts_run_task.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ def mock_git_repo():
361361
subprocess.check_call(
362362
["git", "config", "user.email", "py@tes.t"], cwd=repo_path
363363
)
364+
subprocess.check_call(
365+
["git", "config", "commit.gpgsign", "false"], cwd=repo_path
366+
)
364367

365368
def _commit_file(message, filename, content):
366369
filepath = os.path.join(repo, filename)

0 commit comments

Comments
 (0)