MCPcopy
hub / github.com/Delgan/loguru / test_activation

Function test_activation

tests/test_configure.py:58–66  ·  view source on GitHub ↗
(writer)

Source from the content-addressed store, hash-verified

56
57
58def test_activation(writer):
59 activation = [("tests", False), ("tests.test_configure", True)]
60
61 logger.add(writer, format="{message}")
62 logger.configure(activation=activation)
63
64 logger.debug("Logging")
65
66 assert writer.read() == "Logging\n"
67
68
69def test_dict_unpacking(writer):

Callers

nothing calls this directly

Calls 4

addMethod · 0.80
configureMethod · 0.80
debugMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…