Skip to content

Commit 77dcc53

Browse files
committed
test: update hyperliquid test for new load_markets behavior
1 parent 3ac4a87 commit 77dcc53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/exchange/test_hyperliquid.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ def test_hyperliquid_dry_run_liquidation_price(default_conf, mocker):
283283
default_conf["trading_mode"] = "futures"
284284
default_conf["margin_mode"] = "isolated"
285285
default_conf["stake_currency"] = "USDC"
286-
api_mock.load_markets = get_mock_coro(return_value=markets)
286+
api_mock.load_markets = get_mock_coro()
287+
api_mock.markets = markets
287288
exchange = get_patched_exchange(
288289
mocker, default_conf, api_mock, exchange="hyperliquid", mock_markets=False
289290
)

0 commit comments

Comments
 (0)