Allow test to pass on fast computers by setting the offset to -1

This commit is contained in:
Matthias 2019-10-18 12:21:05 +02:00
parent ed8d805797
commit e55b2a1a1c
1 changed files with 2 additions and 2 deletions

View File

@ -1449,8 +1449,8 @@ def test_tsl_on_exchange_compatible_with_edge(mocker, edge_conf, fee, caplog,
# setting stoploss
freqtrade.strategy.stoploss = -0.02
# setting stoploss_on_exchange_interval to 0 second
freqtrade.strategy.order_types['stoploss_on_exchange_interval'] = 0
# setting stoploss_on_exchange_interval to -1 second since this test runs fast
freqtrade.strategy.order_types['stoploss_on_exchange_interval'] = -1
patch_get_signal(freqtrade)