Skip to content

Commit

Permalink
Adjust comments to match the code
Browse files Browse the repository at this point in the history
  • Loading branch information
foursixnine committed Jan 31, 2024
1 parent 32b24f1 commit 51e7792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def test_inc_has_failures(caplog, mock_good, monkeypatch):
caplog.set_level(logging.INFO)
caplog.clear()

# Assert that the method returns True since there is a failed job
inc.has_failures("token")

# Check that the log only has one message, and that it matches our incident
assert caplog.records[0].message == "Found 1 failed jobs for incident 24618:"
assert len(caplog.records) == 1

0 comments on commit 51e7792

Please sign in to comment.