Fix bug when querying side

This commit is contained in:
Matthias
2020-05-01 20:03:06 +02:00
parent 71c90422ba
commit 737fc6d198
3 changed files with 7 additions and 5 deletions

View File

@@ -3541,6 +3541,7 @@ def test_get_real_amount_open_trade(default_conf, fee, mocker):
'id': 'mocked_order',
'amount': amount,
'status': 'open',
'side': 'buy',
}
freqtrade = get_patched_freqtradebot(mocker, default_conf)
assert freqtrade.get_real_amount(trade, order) == amount