We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c782d commit 8fc8d3fCopy full SHA for 8fc8d3f
tests/client/test_notification_response.py
@@ -141,10 +141,7 @@ async def message_handler(
141
# Initialize should work normally
142
await session.initialize()
143
144
- # Send a notification - this should not raise an error
145
- # even though the server returns 204 instead of 202
146
- # Without the fix, this would fail with a JSON parsing error
147
- # because the client would try to parse the empty 204 response body
+ # The test server returns a 204 instead of the expected 202
148
await session.send_notification(
149
ClientNotification(RootsListChangedNotification(method="notifications/roots/list_changed", params={}))
150
)
0 commit comments