| 123456789101112 |
- from src.metals_mcp.mcp_tools import get_capabilities, get_candles, get_last_candle, get_price
- def test_capabilities():
- caps = get_capabilities()
- assert caps["server"] == "metals-mcp"
- def test_scaffold_tools():
- assert get_price("XAU/USD")["symbol"] == "XAU/USD"
- assert get_candles("XAU/USD")["candles"] == []
- assert get_last_candle("XAU/USD")["candle"] is None
|