WebSocketTestSession does not raise disconnect exception if sending through closed connection #2596
Unanswered
tc360950
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sending data through WebSocketTestSession when connection has already been closed does not result in exception. The following code clarifies what I mean:
I'd expect
send_json
to raiseWebSocketDisconnect
just as callingreceive_json
does.Beta Was this translation helpful? Give feedback.
All reactions