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

Method test_async_log_methods_special_cases

tests/test_stdlib.py:397–409  ·  view source on GitHub ↗

afatal maps to critical.

(self, cl)

Source from the content-addressed store, hash-verified

395 ] == cl.calls
396
397 async def test_async_log_methods_special_cases(self, cl):
398 """
399 afatal maps to critical.
400 """
401 bl = build_bl(cl, processors=[])
402
403 await bl.afatal("Async!")
404
405 assert [
406 CapturedCall(
407 method_name="critical", args=(), kwargs={"event": "Async!"}
408 )
409 ] == cl.calls
410
411 async def test_alog(self, cl):
412 """

Callers

nothing calls this directly

Calls 3

CapturedCallClass · 0.90
build_blFunction · 0.70
afatalMethod · 0.45

Tested by

no test coverage detected