Coverage for src/test/test_logging.py: 100%
9 statements
« prev ^ index » next coverage.py v7.3.0, created at 2024-12-21 12:23 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2024-12-21 12:23 +0000
1import unittest
2import logging
4from ..logging import load_logger
7class TestLoadLogger(unittest.TestCase):
8 def test_load_logger(self):
9 logger = load_logger()
10 self.assertEqual(logger.level, logging.INFO)
11 logger = load_logger(verbose=True)
12 self.assertEqual(logger.level, logging.DEBUG)