add program files

This commit is contained in:
2025-11-16 10:00:56 +01:00
parent 4a019c37c2
commit 4519d722bc
23 changed files with 1205 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from __future__ import annotations
from audiobooksorter.logging import configure_logging
def test_configure_logging_reuses_logger() -> None:
logger = configure_logging("audiobooksorter-tests")
logger.info("hello")
# calling again should not attach additional handlers
logger_again = configure_logging("audiobooksorter-tests")
assert logger is logger_again
assert len(logger.handlers) == 1