repr() of a BoundLoggerBase shows its context and processors.
(self)
| 28 | |
| 29 | class TestBinding: |
| 30 | def test_repr(self): |
| 31 | """ |
| 32 | repr() of a BoundLoggerBase shows its context and processors. |
| 33 | """ |
| 34 | bl = build_bl(processors=[1, 2, 3], context={"A": "B"}) |
| 35 | |
| 36 | assert ( |
| 37 | "<BoundLoggerBase(context={'A': 'B'}, processors=[1, 2, 3])>" |
| 38 | ) == repr(bl) |
| 39 | |
| 40 | def test_binds_independently(self): |
| 41 | """ |
nothing calls this directly
no test coverage detected