MCPcopy Create free account
hub / github.com/hynek/structlog / test_msg

Method test_msg

tests/test_twisted.py:62–68  ·  view source on GitHub ↗

log.msg renders correctly.

(self)

Source from the content-addressed store, hash-verified

60
61class TestBoundLogger:
62 def test_msg(self):
63 """
64 log.msg renders correctly.
65 """
66 bl = build_bl()
67
68 assert "foo=42 event='event'" == bl.msg("event", foo=42)
69
70 def test_errVanilla(self):
71 """

Callers

nothing calls this directly

Calls 2

build_blFunction · 0.70
msgMethod · 0.45

Tested by

no test coverage detected