mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
test(mcp): register the configured scopes through credentials in the Agent 365 PRM integration test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b232b8cfa7
commit
93f3fbe565
1 changed files with 6 additions and 1 deletions
|
|
@ -364,7 +364,12 @@ def test_agent_365_prm_advertises_the_servers_configured_scopes(gateway: Gateway
|
|||
candidate.scenario() as scenario,
|
||||
):
|
||||
scoped: Final = "a365" + uuid.uuid4().hex[:8]
|
||||
register_mcp(scenario, peer, scoped, scopes=["https://example/mcp/scoped/access_as_user", "offline_access"])
|
||||
register_mcp(
|
||||
scenario,
|
||||
peer,
|
||||
scoped,
|
||||
credentials={"scopes": ["https://example/mcp/scoped/access_as_user", "offline_access"]},
|
||||
)
|
||||
unscoped: Final = "a365" + uuid.uuid4().hex[:8]
|
||||
register_mcp(scenario, peer, unscoped)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue