Update tests/test_utils_logcfg.py
Run CI Tests / test (push) Successful in 55s

This commit is contained in:
2025-08-01 03:42:29 +02:00
parent 7236c00a0b
commit 197f706f0b
+3 -3
View File
@@ -51,14 +51,14 @@ def test_custom_log_outputs(levelname, logfunc, message, capsys):
def test_import_logging_once_per_module():
code = textwrap.dedent("""
import sys
from slic.utils.logcfg import setup_import_logging, add_log_Level, logcfg
from slic.utils.logcfg import setup_import_logging
setup_import_logging()
from slic.utils.logcfg import add_log_Level, logcfg
from logzero import logger as log
import logging
add_log_Level(log, "TRACE", logging.DEBUG - 1, func_name="trace")
logcfg("TRACE")
setup_import_logging()
import json
import math