fix order type test

This commit is contained in:
misagh 2018-11-27 17:26:06 +01:00
parent 7dbf0fed68
commit 29f680ec5d

View File

@ -1150,7 +1150,7 @@ def test_get_fee(default_conf, mocker):
def test_stoploss_limit_order(default_conf, mocker): def test_stoploss_limit_order(default_conf, mocker):
api_mock = MagicMock() api_mock = MagicMock()
order_id = 'test_prod_buy_{}'.format(randint(0, 10 ** 6)) order_id = 'test_prod_buy_{}'.format(randint(0, 10 ** 6))
order_type = 'stop_loss' order_type = 'stop_loss_limit'
api_mock.create_order = MagicMock(return_value={ api_mock.create_order = MagicMock(return_value={
'id': order_id, 'id': order_id,