From 1e8252ffcc7fa3ed5d938b11a11fffcde6a3c100 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 30 Sep 2025 20:33:13 +0200 Subject: [PATCH] test: simplify hyperliquid test --- tests/exchange/test_hyperliquid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/exchange/test_hyperliquid.py b/tests/exchange/test_hyperliquid.py index c7924080e..ceb503321 100644 --- a/tests/exchange/test_hyperliquid.py +++ b/tests/exchange/test_hyperliquid.py @@ -299,7 +299,7 @@ def test_hyperliquid_dry_run_liquidation_price(default_conf, mocker): position["contracts"], position["collateral"], position["leverage"], - position["collateral"], + 0.0, # wallet balance not used in isolated margin mode [], ) assert pytest.approx(liq_price_returned, rel=0.0001) == liq_price_calculated