adjust webhook tests

This commit is contained in:
Matthias 2018-07-14 13:29:50 +02:00
parent 1284627219
commit 278e7159bc
2 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ def test_init_webhook_enabled(mocker, default_conf, caplog) -> None:
"""
caplog.set_level(logging.DEBUG)
default_conf['telegram']['enabled'] = False
default_conf['webhook'] = {'enabled': True}
default_conf['webhook'] = {'enabled': True, 'url': "https://DEADBEEF.com"}
rpc_manager = RPCManager(get_patched_freqtradebot(mocker, default_conf))

View File

@ -35,6 +35,7 @@ def test__init__(mocker, default_conf):
"""
Test __init__() method
"""
default_conf['webhook'] = {'enabled': True, 'url': "https://DEADBEEF.com"}
webhook = Webhook(get_patched_freqtradebot(mocker, default_conf))
assert webhook._config == default_conf