MCPcopy
hub / github.com/scrapy/scrapy / test_overlapping_name_logger

Method test_overlapping_name_logger

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

Source from the content-addressed store, hash-verified

59 log.check(("test", "WARNING", "test log msg"))
60
61 def test_overlapping_name_logger(self):
62 logger = logging.getLogger("test2")
63 with self.handler as log:
64 logger.warning("test log msg")
65 log.check(("test2", "WARNING", "test log msg"))
66
67 def test_different_name_logger(self):
68 logger = logging.getLogger("different")

Callers

nothing calls this directly

Calls 1

checkMethod · 0.80

Tested by

no test coverage detected