test(mcp): make scope-discovery server aliases digits-only (#45675)

Co-authored-by: yuneng <yuneng@berri.ai>
This commit is contained in:
devin-ai-integration[bot] 2026-10-09 21:53:43 +00:00 • committed by GitHub
parent 1f1b28fc8e
commit 231627ecd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -257,7 +257,7 @@ def test_same_url_server_grants_scope_discovery_and_direct_or_virtual_execution(
gateway: Gateway, authenticated: bool
) -> None:
with mcp_peer() as peer, gateway.scenario() as scenario:
aliases: Final = tuple("scope" + uuid.uuid4().hex for _ in range(2))
aliases: Final = tuple(f"scope{uuid.uuid4().int % 10**32:032d}" for _ in range(2))
servers: Final = tuple(
register_mcp(
scenario,