Disable telegram from default_conf

This commit is contained in:
Matthias
2023-04-15 17:39:23 +02:00
parent a78672c10b
commit 20d17cbc52
3 changed files with 15 additions and 4 deletions

View File

@@ -36,6 +36,13 @@ from tests.conftest import (CURRENT_TEST_STRATEGY, EXMS, create_mock_trades,
patch_exchange, patch_get_signal, patch_whitelist)
@pytest.fixture
def default_conf(default_conf) -> dict:
# Telegram is enabled by default
default_conf['telegram']['enabled'] = True
return default_conf
class DummyCls(Telegram):
"""
Dummy class for testing the Telegram @authorized_only decorator