Add test for notification settings

This commit is contained in:
Matthias
2020-09-19 20:04:12 +02:00
parent 413d7ddf70
commit 2554dc48e4
7 changed files with 30 additions and 11 deletions

View File

@@ -127,7 +127,7 @@ def test_send_msg_webhook_CustomMessagetype(mocker, default_conf, caplog) -> Non
rpc_manager.send_msg({'type': RPCMessageType.STARTUP_NOTIFICATION,
'status': 'TestMessage'})
assert log_has(
"Message type RPCMessageType.STARTUP_NOTIFICATION not implemented by handler webhook.",
"Message type 'startup' not implemented by handler webhook.",
caplog)