[Issue 7] Use the AGit to push and create pull requests at the same time #8

Merged
Jmaa merged 5 commits from issue-use-the-agit-to-push-and-create-pull-requests-at-the-same-time into main 2025-04-13 14:29:35 +00:00
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): def fake_run_cmd(cmd, cwd=None):
captured["cmd"] = cmd 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__.run_cmd", fake_run_cmd)
monkeypatch.setattr("aider_gitea.__main__.SECRETS.load_or_fail", lambda x: "mocked_secret") monkeypatch.setattr("aider_gitea.__main__.SECRETS.load_or_fail", lambda x: "mocked_secret")