mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Mock exchange loop
This commit is contained in:
parent
5608aaca26
commit
d25e82d095
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user