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

Method test_correct_level_fatal

tests/test_stdlib.py:1563–1569  ·  view source on GitHub ↗

fatal, that I have no idea why we support, maps to critical.

(self, abl, cl)

Source from the content-addressed store, hash-verified

1561
1562 @pytest.mark.asyncio
1563 async def test_correct_level_fatal(self, abl, cl):
1564 """
1565 fatal, that I have no idea why we support, maps to critical.
1566 """
1567 await abl.bind(foo="bar").fatal("42")
1568
1569 assert "critical" == cl.calls[0].method_name
1570
1571 @pytest.mark.asyncio
1572 async def test_log_method(self, abl, cl):

Callers

nothing calls this directly

Calls 2

fatalMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected