Allow test to pass on fast computers by setting the offset to -1
This commit is contained in:
parent
ed8d805797
commit
e55b2a1a1c
@ -1449,8 +1449,8 @@ def test_tsl_on_exchange_compatible_with_edge(mocker, edge_conf, fee, caplog,
|
|||||||
# setting stoploss
|
# setting stoploss
|
||||||
freqtrade.strategy.stoploss = -0.02
|
freqtrade.strategy.stoploss = -0.02
|
||||||
|
|
||||||
# setting stoploss_on_exchange_interval to 0 second
|
# setting stoploss_on_exchange_interval to -1 second since this test runs fast
|
||||||
freqtrade.strategy.order_types['stoploss_on_exchange_interval'] = 0
|
freqtrade.strategy.order_types['stoploss_on_exchange_interval'] = -1
|
||||||
|
|
||||||
patch_get_signal(freqtrade)
|
patch_get_signal(freqtrade)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user