test(reviewer): cover team-enabled fork authorization

This commit is contained in:
Adam Moussa 2026-07-31 12:52:25 -04:00 • committed by Adam Moussa
parent 1b8f8d480d
commit eb91104db8

View file

@ -30,6 +30,7 @@ def _pr(*, author: str = "alice", fork: bool = False) -> dict[str, object]:
(False, True, _pr(), False, False),
(False, True, _pr(author="open-swe[bot]"), False, True),
(True, False, _pr(), True, True),
(True, False, _pr(fork=True), True, False),
],
ids=[
"repo-enabled-trusted-nonfork",
@ -38,6 +39,7 @@ def _pr(*, author: str = "alice", fork: bool = False) -> dict[str, object]:
"untrusted",
"internal-bot",
"team-enabled",
"team-enabled-fork",
],
)
@pytest.mark.asyncio