Fix blank lines rule at test_rpc_webhook.py

This commit is contained in:
Xanders 2021-02-26 21:32:41 +03:00 committed by GitHub
parent 7281e794b4
commit efa50be145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,6 +226,7 @@ def test__send_msg(default_conf, mocker, caplog):
webhook._send_msg(msg)
assert log_has('Could not call webhook url. Exception: ', caplog)
def test__send_msg_with_json_format(default_conf, mocker, caplog):
default_conf["webhook"] = get_webhook_dict()
default_conf["webhook"]["format"] = "json"