Skip to content

Commit

Permalink
✅ test: fix 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gazorby committed Dec 3, 2022
1 parent 1209385 commit c7a235c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integrations/starlite/test_starlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def handler(request, exc):
assert response.status_code == 500
print(events)
event = events[-1]
assert response.content.strip().decode("ascii") == event["event_id"]
assert response.content.strip().decode("ascii").strip('"') == event["event_id"]
(exception,) = event["exception"]["values"]
assert exception["type"] == "Exception"
assert exception["value"] == "Too Hot"

0 comments on commit c7a235c

Please sign in to comment.