Update tests for new wallet RPC structure

This commit is contained in:
Matthias
2022-02-22 19:30:07 +01:00
parent 13e74c5693
commit d07a24a54f
4 changed files with 20 additions and 1 deletions

View File

@@ -905,6 +905,10 @@ def test_balance_handle_too_large_response(default_conf, update, mocker) -> None
'balance': i,
'est_stake': 1,
'stake': 'BTC',
'is_position': False,
'leverage': 1.0,
'position': 0.0,
'side': 'long',
})
mocker.patch('freqtrade.rpc.rpc.RPC._rpc_balance', return_value={
'currencies': balances,