set initial open_rate and amount in create_trade

This is mostly needed by dry_run
This commit is contained in:
gcarq
2017-11-01 00:54:16 +01:00
parent 1e5b0e8726
commit 543857ddb2
5 changed files with 28 additions and 47 deletions

View File

@@ -99,7 +99,6 @@ def test_status_handle(conf, update, mocker):
_status(bot=MagicBot(), update=update)
assert msg_mock.call_count == 3
assert 'Waiting until order is fulfilled' in msg_mock.call_args_list[-2][0][0]
assert '[BTC_ETH]' in msg_mock.call_args_list[-1][0][0]