Skip to content

Commit 2dcebd0

Browse files
committed
style: apply ruff formatting to test file
1 parent f3ed099 commit 2dcebd0

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/server/test_multi_tenancy_session.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ async def test_handle_request_populates_session_tenant_id():
336336
captured_ctx_tenant: str | None = None
337337
captured_session_tenant: str | None = None
338338

339-
async def handle_list_tools(
340-
ctx: ServerRequestContext, params: PaginatedRequestParams | None
341-
) -> ListToolsResult:
339+
async def handle_list_tools(ctx: ServerRequestContext, params: PaginatedRequestParams | None) -> ListToolsResult:
342340
nonlocal captured_ctx_tenant, captured_session_tenant
343341
captured_ctx_tenant = ctx.tenant_id
344342
captured_session_tenant = ctx.session.tenant_id
@@ -378,9 +376,7 @@ async def test_handle_notification_populates_session_tenant_id():
378376
notification_tenant: str | None = None
379377
notification_received = anyio.Event()
380378

381-
async def handle_roots_list_changed(
382-
ctx: ServerRequestContext, params: NotificationParams | None
383-
) -> None:
379+
async def handle_roots_list_changed(ctx: ServerRequestContext, params: NotificationParams | None) -> None:
384380
nonlocal notification_tenant
385381
notification_tenant = ctx.tenant_id
386382
notification_received.set()

0 commit comments

Comments
 (0)