Update tests/test_utils_logign.py
Run CI Tests / test (push) Successful in 30s

This commit is contained in:
2025-07-28 15:48:55 +02:00
parent 617c8ab8f5
commit e24b41c760
+1 -8
View File
@@ -21,16 +21,9 @@ def setup_logger():
def reconfigure_logzero_to_stderr():
# Remove all existing handlers
for h in log.handlers[:]:
log.removeHandler(h)
# New handler to stderr with full DEBUG level
handler = logging.StreamHandler(sys.stderr)
handler.setFormatter(LogFormatter())
handler.setLevel(logging.DEBUG)
log.addHandler(handler)
log.setLevel(logging.DEBUG)
@pytest.mark.parametrize("level,msg,should_appear", [