Skip to content

Commit f4c30c2

Browse files
Add scope to request mock in FastMCP tests
1 parent c994d0f commit f4c30c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integrations/fastmcp/test_fastmcp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ class MockHTTPRequest:
262262
def __init__(self, session_id=None, transport="http"):
263263
self.headers = {}
264264
self.query_params = {}
265+
self.scope = {}
265266

266267
if transport == "sse":
267268
# SSE transport uses query parameter

0 commit comments

Comments
 (0)