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 Jan 8, 2023
1 parent bb1ce61 commit 50da815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integrations/starlite/test_starlite.py
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 50da815

Please sign in to comment.