Set proper log-level for test
This commit is contained in:
@@ -331,6 +331,7 @@ def test_send_msg_webhook(default_conf, mocker):
|
|||||||
|
|
||||||
|
|
||||||
def test_exception_send_msg(default_conf, mocker, caplog):
|
def test_exception_send_msg(default_conf, mocker, caplog):
|
||||||
|
caplog.set_level(logging.DEBUG)
|
||||||
default_conf["webhook"] = get_webhook_dict()
|
default_conf["webhook"] = get_webhook_dict()
|
||||||
del default_conf["webhook"]["entry"]
|
del default_conf["webhook"]["entry"]
|
||||||
del default_conf["webhook"]["webhookentry"]
|
del default_conf["webhook"]["webhookentry"]
|
||||||
|
|||||||
Reference in New Issue
Block a user