From 1abd8fb8fcfc95763523b51b5d408fea487fa684 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 20 Apr 2024 09:30:55 +0200 Subject: [PATCH] Fix wallets test --- tests/test_wallets.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_wallets.py b/tests/test_wallets.py index 1c1a3b548..0d0ada1b7 100644 --- a/tests/test_wallets.py +++ b/tests/test_wallets.py @@ -381,10 +381,10 @@ def test_sync_wallet_futures_dry(mocker, default_conf, fee): assert len(freqtrade.wallets._wallets) == 1 assert len(freqtrade.wallets._positions) == 4 positions = freqtrade.wallets.get_all_positions() - positions['ETH/BTC'].side == 'short' - positions['ETC/BTC'].side == 'long' - positions['XRP/BTC'].side == 'long' - positions['LTC/BTC'].side == 'short' + assert positions['ETH/BTC'].side == 'short' + assert positions['ETC/BTC'].side == 'long' + assert positions['XRP/BTC'].side == 'long' + assert positions['LTC/BTC'].side == 'short' assert freqtrade.wallets.get_starting_balance() == default_conf['dry_run_wallet'] total = freqtrade.wallets.get_total('BTC')