Files
wehub-resource-sync 67296cb4a7
Deploy Docs / deploy (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:26:53 +08:00

9 lines
258 B
Python

from src.mcp.errors import HorizonMcpError
def test_horizon_mcp_error_string_representation() -> None:
err = HorizonMcpError(code="E_TEST", message="boom", details={"k": "v"})
assert str(err) == "E_TEST: boom"
assert err.details == {"k": "v"}