Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Feb 6, 2025
1 parent 562e8c5 commit 6d37cc7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_live_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,13 @@ def test_linter_pr(pytestconfig):
status.state,
expected_status,
comment.body,
f"status is not expected statusfor PR #{pr_number}: see {target_urls[pr_number]}",
"status is not expected status "
f"for PR #{pr_number}: see "
f"{target_urls[pr_number]}",
)

for expected_msg in expected_msgs:
assert expected_msg in comment.body, (
f"expected message missing for PR #{pr_number}: see {target_urls[pr_number]}"
"expected message missing for PR "
f"#{pr_number}: see {target_urls[pr_number]}"
)

0 comments on commit 6d37cc7

Please sign in to comment.