Skip to content

Commit 2f1eba2

Browse files
committed
test(reviewer-bot): align authority ownership contract
1 parent c17bdb1 commit 2f1eba2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/contract/reviewer_bot/test_comment_application_contract.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ def test_comment_application_no_longer_owns_direct_comment_freshness_decision_br
196196
module_text = Path("scripts/reviewer_bot_lib/comment_application.py").read_text(encoding="utf-8")
197197

198198
assert "comment_freshness_policy.decide_comment_freshness(effective_review_data, request)" in module_text
199-
assert 'bot.github.get_issue_assignees(' in module_text
199+
assert "assignment_flow.resolve_reviewer_authority(" in module_text
200+
assert 'bot.github.get_issue_assignees(' not in module_text
200201
assert "if isinstance(current_reviewer, str) and current_reviewer.lower() == comment_author.lower():" not in module_text
201202

202203

0 commit comments

Comments
 (0)