Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
fix: remove error code from expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
srwang committed Jul 12, 2023
1 parent 6ac282c commit 4c4e774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubular/tests/test_segment_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,5 @@ def test_send_event_to_segment_error(setup_regulation_api, caplog): # pylint: di
segment.send_event_to_segment('test.event')

assert mock_post.call_count == 4
assert "400 Bad request" in caplog.text
assert "Bad request" in caplog.text

0 comments on commit 4c4e774

Please sign in to comment.