diff --git a/tests/exchange_online/conftest.py b/tests/exchange_online/conftest.py index a2e6c8a74..466020551 100644 --- a/tests/exchange_online/conftest.py +++ b/tests/exchange_online/conftest.py @@ -225,7 +225,7 @@ EXCHANGES = { "id": "123412341234", "create_time": "167997798", "create_time_ms": "167997798825.566200", - "currency_pair": "ETH_USDT", + "currency_pair": "SOL_USDT", "side": "sell", "role": "taker", "amount": "0.0115", diff --git a/tests/exchange_online/test_ccxt_compat.py b/tests/exchange_online/test_ccxt_compat.py index 408f47e7d..fbb6bca05 100644 --- a/tests/exchange_online/test_ccxt_compat.py +++ b/tests/exchange_online/test_ccxt_compat.py @@ -92,9 +92,8 @@ class TestCCXTExchange: if trades := EXCHANGES[exchange_name].get("sample_my_trades"): pair = "SOL/USDT" for trade in trades: - market = exch._api.markets[pair] po = exch._api.parse_trade(trade) - (trade, market) + assert po["symbol"] == pair assert isinstance(po["id"], str) assert isinstance(po["side"], str) assert isinstance(po["amount"], float)