Init persistence for tests that use dry-run orders

This commit is contained in:
Matthias
2022-05-20 06:26:16 +02:00
parent 46ea135b6b
commit 2cf17e04be
3 changed files with 5 additions and 0 deletions

View File

@@ -174,6 +174,7 @@ def test_stoploss_adjust_ftx(mocker, default_conf, sl1, sl2, sl3, side):
assert not exchange.stoploss_adjust(sl3, order, side=side)
@pytest.mark.usefixtures("init_persistence")
def test_fetch_stoploss_order_ftx(default_conf, mocker, limit_sell_order, limit_buy_order):
default_conf['dry_run'] = True
order = MagicMock()