mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
test(mcp): make scope-discovery server aliases digits-only (#45675)
Co-authored-by: yuneng <yuneng@berri.ai>
This commit is contained in:
parent
1f1b28fc8e
commit
231627ecd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue