Skip to content

Commit

Permalink
Update interface_tester/interface_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer authored Sep 6, 2024
1 parent 978471d commit 286b960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface_tester/interface_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _cast_event(self, ctx: Context, raw_event: Union[str, _Event], relation: Rel

if not isinstance(event, _Event):
raise InvalidTestCaseError(
f"Bad interface test specification: event {raw_event} should be a relation event."
f"Bad interface test specification: event {raw_event} should be a relation event string or _Event."
)

# todo: if the user passes a relation event that is NOT about the relation
Expand Down

0 comments on commit 286b960

Please sign in to comment.