Skip to content

Commit 7a566dd

Browse files
committed
test: remove stale lowlevel auth coverage pragmas
1 parent 0b2fd83 commit 7a566dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mcp/server/lowlevel/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def streamable_http_app(
566566
required_scopes: list[str] = []
567567

568568
# Set up auth if configured
569-
if auth: # pragma: no cover
569+
if auth:
570570
required_scopes = auth.required_scopes or []
571571

572572
# Add auth middleware if token verifier is available
@@ -592,7 +592,7 @@ def streamable_http_app(
592592
)
593593

594594
# Set up routes with or without auth
595-
if token_verifier: # pragma: no cover
595+
if token_verifier:
596596
# Determine resource metadata URL
597597
resource_metadata_url = None
598598
if auth and auth.resource_server_url:
@@ -615,7 +615,7 @@ def streamable_http_app(
615615
)
616616

617617
# Add protected resource metadata endpoint if configured as RS
618-
if auth and auth.resource_server_url: # pragma: no cover
618+
if auth and auth.resource_server_url:
619619
routes.extend(
620620
create_protected_resource_routes(
621621
resource_url=auth.resource_server_url,

0 commit comments

Comments
 (0)