Update tests

This commit is contained in:
Matthias
2023-04-22 17:21:03 +02:00
parent f937818b80
commit 741834301f
2 changed files with 8 additions and 0 deletions

View File

@@ -546,7 +546,9 @@ def test_rpc_balance_handle(default_conf, mocker, tickers):
'free': 10.0,
'balance': 12.0,
'used': 2.0,
'bot_owned': 0,
'est_stake': 10.0, # In futures mode, "free" is used here.
'est_stake_bot': 10,
'stake': 'BTC',
'is_position': False,
'leverage': 1.0,
@@ -558,7 +560,9 @@ def test_rpc_balance_handle(default_conf, mocker, tickers):
'free': 1.0,
'balance': 5.0,
'currency': 'ETH',
'bot_owned': 0,
'est_stake': 0.30794,
'est_stake_bot': 0,
'used': 4.0,
'stake': 'BTC',
'is_position': False,
@@ -571,7 +575,9 @@ def test_rpc_balance_handle(default_conf, mocker, tickers):
'free': 5.0,
'balance': 10.0,
'currency': 'USDT',
'bot_owned': 0,
'est_stake': 0.0011562404610161968,
'est_stake_bot': 0,
'used': 5.0,
'stake': 'BTC',
'is_position': False,

View File

@@ -842,7 +842,9 @@ def test_balance_handle_too_large_response(default_conf, update, mocker) -> None
'free': 1.0,
'used': 0.5,
'balance': i,
'bot_owned': 0.5,
'est_stake': 1,
'est_stake_bot': 1,
'stake': 'BTC',
'is_position': False,
'leverage': 1.0,