Skip to content

Commit e8f1480

Browse files
committed
Add comment
1 parent 4add482 commit e8f1480

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/server/fastmcp/auth/test_auth_integration.py

+3
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,9 @@ def test_tool(x: int) -> str:
11191119
assert set(sse_data["result"]["capabilities"].keys()) == set(
11201120
("experimental", "prompts", "resources", "tools")
11211121
)
1122+
# the /sse endpoint will never finish; normally, the client could just
1123+
# disconnect, but in tests the easiest way to do this is to cancel the
1124+
# task group
11221125
task_group.cancel_scope.cancel()
11231126

11241127

0 commit comments

Comments
 (0)