MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / test_acp_invalid_session

Function test_acp_invalid_session

tests/test_acp.py:85–89  ·  view source on GitHub ↗
(acp_agent)

Source from the content-addressed store, hash-verified

83
84@pytest.mark.asyncio
85async def test_acp_invalid_session(acp_agent):
86 agent, _ = acp_agent
87 prompt = SimpleNamespace(sessionId="missing", prompt=[{"text": "?"}])
88 response = await agent.prompt(prompt)
89 assert response.stopReason == "refusal"

Callers

nothing calls this directly

Calls 1

promptMethod · 0.80

Tested by

no test coverage detected