adjust webhook tests
This commit is contained in:
parent
1284627219
commit
278e7159bc
@ -149,7 +149,7 @@ def test_init_webhook_enabled(mocker, default_conf, caplog) -> None:
|
|||||||
"""
|
"""
|
||||||
caplog.set_level(logging.DEBUG)
|
caplog.set_level(logging.DEBUG)
|
||||||
default_conf['telegram']['enabled'] = False
|
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))
|
rpc_manager = RPCManager(get_patched_freqtradebot(mocker, default_conf))
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ def test__init__(mocker, default_conf):
|
|||||||
"""
|
"""
|
||||||
Test __init__() method
|
Test __init__() method
|
||||||
"""
|
"""
|
||||||
|
default_conf['webhook'] = {'enabled': True, 'url': "https://DEADBEEF.com"}
|
||||||
webhook = Webhook(get_patched_freqtradebot(mocker, default_conf))
|
webhook = Webhook(get_patched_freqtradebot(mocker, default_conf))
|
||||||
assert webhook._config == default_conf
|
assert webhook._config == default_conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user