Alog logs async at the correct level.
(self, cl)
| 409 | ] == cl.calls |
| 410 | |
| 411 | async def test_alog(self, cl): |
| 412 | """ |
| 413 | Alog logs async at the correct level. |
| 414 | """ |
| 415 | bl = build_bl(cl, processors=[]) |
| 416 | |
| 417 | await bl.alog(logging.INFO, "foo %s", "bar") |
| 418 | |
| 419 | assert [ |
| 420 | CapturedCall( |
| 421 | method_name="info", |
| 422 | args=(), |
| 423 | kwargs={"positional_args": ("bar",), "event": "foo %s"}, |
| 424 | ) |
| 425 | ] == cl.calls |
| 426 | |
| 427 | async def test_aexception_exc_info_true(self, cl): |
| 428 | """ |
nothing calls this directly
no test coverage detected