Initial commit

This commit is contained in:
2026-06-12 19:15:46 +00:00
commit c254970ae5
34 changed files with 3143 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import logging
from kanta import configure_logging, log_change
from kanta.logging import logger
def test_configure_logging():
configure_logging()
assert logger.level == logging.INFO
def test_log_change_no_diff(capsys):
logger.handlers.clear()
configure_logging()
log_change("test", {})
captured = capsys.readouterr()
assert "test" in captured.err