Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Oct 10, 2024
1 parent 64f7e6e commit c98a40b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,7 @@ def test_bad_serialization():
with pytest.raises(Exception) as excinfo:
types.Note(param_event_doesnt_have="This should break")

assert (
str(excinfo.value)
== "[Note]: Unable to parse dict {'param_event_doesnt_have': 'This should break'}"
)
assert 'has no field named "param_event_doesnt_have" at "Note"' in str(excinfo.value)


def test_single_run_error():
Expand Down

0 comments on commit c98a40b

Please sign in to comment.