From ec34189f1b96c02c312e01d9b192380aa60384ff Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 23 Feb 2022 08:47:20 +0100 Subject: [PATCH] Attempt to fix random ci error --- tests/rpc/test_rpc_apiserver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/rpc/test_rpc_apiserver.py b/tests/rpc/test_rpc_apiserver.py index 370978c7b..e243490f4 100644 --- a/tests/rpc/test_rpc_apiserver.py +++ b/tests/rpc/test_rpc_apiserver.py @@ -596,6 +596,7 @@ def test_api_trades(botclient, mocker, fee, markets, is_short): assert rc.json()['total_trades'] == 2 +@pytest.mark.usefixtures("init_persistence") @pytest.mark.parametrize('is_short', [True, False]) def test_api_trade_single(botclient, mocker, fee, ticker, markets, is_short): ftbot, client = botclient @@ -618,6 +619,7 @@ def test_api_trade_single(botclient, mocker, fee, ticker, markets, is_short): assert rc.json()['is_short'] == is_short +@pytest.mark.usefixtures("init_persistence") @pytest.mark.parametrize('is_short', [True, False]) def test_api_delete_trade(botclient, mocker, fee, markets, is_short): ftbot, client = botclient