| 1234567891011 |
- from __future__ import annotations
- def test_crypto_get_price_shape():
- from src.trader_mcp.crypto_client import call_crypto_tool
- resp = call_crypto_tool("get_price", {"symbol": "xrp"})
- assert isinstance(resp, dict)
- assert resp.get("symbol") in {"xrp", "XRP"}
- assert isinstance(resp.get("price"), (int, float))
- assert isinstance(resp.get("timestamp"), (int, float))
|