MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_init_with_meta

Method test_init_with_meta

tests/test_mcp_errors.py:38–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 assert err.mcp_meta is None
37
38 def test_init_with_meta(self) -> None:
39 meta = {"_meta": {"some": "data"}}
40 err = McpToolCallError("fail", "tele-msg", meta)
41 assert err.telemetry_message == "tele-msg"
42 assert err.mcp_meta == meta
43
44
45class TestIsMcpSessionExpiredError:

Callers

nothing calls this directly

Calls 1

McpToolCallErrorClass · 0.90

Tested by

no test coverage detected