new: working logger

This commit is contained in:
Benoît Sierro
2023-08-21 11:16:22 +02:00
parent b3ef82c65e
commit a05f954de8
5 changed files with 60 additions and 98 deletions

7
tests/test_logger.py Normal file
View File

@@ -0,0 +1,7 @@
import scgenerator as sc
def test_get_logger():
assert sc.get_logger() is sc.get_logger()
assert sc.get_logger("this_test") is sc.get_logger("this_test")
assert sc.get_logger("this_test") is not sc.get_logger()