Test Issue Title #10

Closed
Jmaa wants to merge 4 commits from jmaa/feature/test-issue into main
Showing only changes of commit 5a899c05fb - Show all commits

View File

@ -4,6 +4,7 @@ def test_push_changes(monkeypatch):
def fake_run_cmd(cmd, cwd=None):
captured["cmd"] = cmd
monkeypatch.setattr("aider_gitea.__main__.SECRETS.load_or_fail", lambda x: "mocked_secret")
monkeypatch.setattr("aider_gitea.__main__.run_cmd", fake_run_cmd)
monkeypatch.setattr("aider_gitea.__main__.SECRETS.load_or_fail", lambda x: "mocked_secret")