flake8
This commit is contained in:
parent
54d068de44
commit
a505826ec9
@ -1052,7 +1052,7 @@ def test_handle_stoploss_on_exchange(mocker, default_conf, fee, caplog,
|
|||||||
freqtrade.handle_stoploss_on_exchange(trade)
|
freqtrade.handle_stoploss_on_exchange(trade)
|
||||||
assert log_has('Unable to place a stoploss order on exchange: ', caplog.record_tuples)
|
assert log_has('Unable to place a stoploss order on exchange: ', caplog.record_tuples)
|
||||||
|
|
||||||
#Fifth case: get_order returns InvalidOrder
|
# Fifth case: get_order returns InvalidOrder
|
||||||
# It should try to add stoploss order
|
# It should try to add stoploss order
|
||||||
trade.stoploss_order_id = 100
|
trade.stoploss_order_id = 100
|
||||||
stoploss_limit.reset_mock()
|
stoploss_limit.reset_mock()
|
||||||
|
Loading…
Reference in New Issue
Block a user