Readd accidentally dropped StreamHandler

This commit is contained in:
Matthias
2020-08-14 19:50:56 +02:00
parent 9ad8e74247
commit 122c0e8ddc
2 changed files with 7 additions and 2 deletions

View File

@@ -675,7 +675,7 @@ def test_set_loggers_syslog(mocker):
}
setup_logging(config)
assert len(logger.handlers) == 2
assert len(logger.handlers) == 3
assert [x for x in logger.handlers if type(x) == logging.handlers.SysLogHandler]
assert [x for x in logger.handlers if type(x) == logging.StreamHandler]
# reset handlers to not break pytest