Skip to content

Commit 485d3a8

Browse files
committed
test: replace cast() with isinstance asserts in request queue tests
`cast()` is a type-only operation, so the test trusted the response shape blindly. Switch to `assert isinstance(result, T)`, which adds a runtime check and provides the same type narrowing.
1 parent f90bfd5 commit 485d3a8

1 file changed

Lines changed: 107 additions & 120 deletions

File tree

0 commit comments

Comments
 (0)