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 36805b6 commit 452dfb9Copy full SHA for 452dfb9
tests/server/test_cancel_handling.py
@@ -31,7 +31,7 @@ def cancel(self):
31
asyncio.create_task(self.send(ServerResult(error=types.ErrorData(code=-32800, message="Request cancelled"))))
32
33
34
-@pytest.mark.asyncio
+@pytest.mark.anyio
35
async def test_cancelled_request_no_double_response():
36
"""Verify server handles cancelled requests without double response."""
37
@@ -90,7 +90,7 @@ async def slow_handler(req):
90
assert response_count == 1, f"Expected 1 response, got {response_count}"
91
92
93
94
async def test_server_remains_functional_after_cancel():
95
"""Verify server can handle new requests after a cancellation."""
96
0 commit comments