Adjust tests for dry_run wallet simulation

This commit is contained in:
Matthias
2019-12-15 10:39:52 +01:00
parent 5a5741878c
commit c741b67c3c
6 changed files with 9 additions and 6 deletions

View File

@@ -230,6 +230,7 @@ def test_api_stopbuy(botclient):
def test_api_balance(botclient, mocker, rpc_balance):
ftbot, client = botclient
ftbot.config['dry_run'] = False
mocker.patch('freqtrade.exchange.Exchange.get_balances', return_value=rpc_balance)
mocker.patch('freqtrade.exchange.Exchange.get_valid_pair_combination',
side_effect=lambda a, b: f"{a}/{b}")