Mock exchange loop

This commit is contained in:
Matthias 2023-04-16 17:56:12 +02:00
parent 5608aaca26
commit d25e82d095

View File

@ -37,6 +37,11 @@ from tests.conftest import (CURRENT_TEST_STRATEGY, EXMS, create_mock_trades,
patch_exchange, patch_get_signal, patch_whitelist)
@pytest.fixture(autouse=True)
def mock_exchange_loop(mocker):
mocker.patch('freqtrade.exchange.exchange.Exchange._init_async_loop')
@pytest.fixture
def default_conf(default_conf) -> dict:
# Telegram is enabled by default