Skip to content

Commit 2158823

Browse files
committed
Add more asserts to newly added test
1 parent c26763f commit 2158823

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integrations/litestar/test_litestar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,3 +488,6 @@ async def error() -> None: ...
488488
pass
489489

490490
assert len(events) == 1
491+
event_exception = events[0]["exception"]["values"][0]
492+
assert event_exception["type"] == "RuntimeError"
493+
assert event_exception["value"] == "Too Hot"

0 commit comments

Comments
 (0)