MCPcopy
hub / github.com/scrapy/scrapy / test_children_logger

Method test_children_logger

tests/test_utils_log.py:55–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 log.check(("test", "WARNING", "test log msg"))
54
55 def test_children_logger(self):
56 logger = logging.getLogger("test.test1")
57 with self.handler as log:
58 logger.warning("test log msg")
59 log.check(("test", "WARNING", "test log msg"))
60
61 def test_overlapping_name_logger(self):
62 logger = logging.getLogger("test2")

Callers

nothing calls this directly

Calls 1

checkMethod · 0.80

Tested by

no test coverage detected