Conditions | 1 |
Total Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # pylint: disable=redefined-outer-name,unused-variable,expression-not-assigned,singleton-comparison |
||
23 | @pytest.mark.last |
||
24 | def it_can_be_formatted_with_init(expect, caplog): |
||
25 | log.init("%(levelname)s: %(name)s: %(message)s") |
||
26 | demo.foobar() |
||
27 | expect(caplog.text) == "ERROR: tests.demo: Hello, world!\n" |
||
28 |