mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-11 10:43:56 +00:00
Merge branch 'stable' into new_release
This commit is contained in:
commit
46458bf5eb
|
@ -1,5 +1,5 @@
|
||||||
""" Freqtrade bot """
|
""" Freqtrade bot """
|
||||||
__version__ = '2023.2.dev'
|
__version__ = '2023.1'
|
||||||
|
|
||||||
if 'dev' in __version__:
|
if 'dev' in __version__:
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
|
@ -356,6 +356,14 @@ def test_exception_send_msg(default_conf, mocker, caplog):
|
||||||
}
|
}
|
||||||
webhook.send_msg(msg)
|
webhook.send_msg(msg)
|
||||||
|
|
||||||
|
# Test no failure for not implemented but known messagetypes
|
||||||
|
for e in RPCMessageType:
|
||||||
|
msg = {
|
||||||
|
'type': e,
|
||||||
|
'status': 'whatever'
|
||||||
|
}
|
||||||
|
webhook.send_msg(msg)
|
||||||
|
|
||||||
|
|
||||||
def test__send_msg(default_conf, mocker, caplog):
|
def test__send_msg(default_conf, mocker, caplog):
|
||||||
default_conf["webhook"] = get_webhook_dict()
|
default_conf["webhook"] = get_webhook_dict()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user