From a7a4d8a6e50068a3678d02050bb727a584798236 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Sun, 13 Apr 2025 16:10:09 +0200 Subject: [PATCH] test: mock secret loading in test_push_changes to avoid failures --- test/test_agit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_agit.py b/test/test_agit.py index 6b15c31..f3291a5 100644 --- a/test/test_agit.py +++ b/test/test_agit.py @@ -6,7 +6,7 @@ def test_push_changes(monkeypatch): monkeypatch.setattr("aider_gitea.__main__.run_cmd", fake_run_cmd) - # Test parameters + monkeypatch.setattr("aider_gitea.__main__.SECRETS.load_or_fail", lambda x: "mocked_secret") branch = "feature/test-issue" title = "Test Issue Title" description = "Test Issue Description"