test: mock secret loading in test_push_changes to avoid failures
This commit is contained in:
parent
ccb988f846
commit
a7a4d8a6e5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user