fix: resolve conflicts for PR #422

This commit is contained in:
2026-07-08 02:20:04 -04:00
34 changed files with 3871 additions and 352 deletions
+3 -1
View File
@@ -130,7 +130,9 @@ class TestReviewWorkflowLoadGates(unittest.TestCase):
self.assertTrue(blockers)
def test_dry_run_allowed_without_load(self):
with patch("mcp_server.gitea_check_pr_eligibility") as elig:
with patch("mcp_server.get_auth_header", return_value="Basic dGVzdA=="), \
patch("mcp_server._list_pr_lease_comments", return_value=[]), \
patch("mcp_server.gitea_check_pr_eligibility") as elig:
elig.return_value = {
"eligible": True,
"authenticated_user": "rev",