Commit 485d3a8
committed
test: replace
`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.cast() with isinstance asserts in request queue tests1 parent f90bfd5 commit 485d3a8
1 file changed
Lines changed: 107 additions & 120 deletions
0 commit comments