BoundLogger.exception.log() is proxied to the appropriate method.
(self)
| 218 | assert "critical" == bl.fatal("event") |
| 219 | |
| 220 | def test_proxies_log(self): |
| 221 | """ |
| 222 | BoundLogger.exception.log() is proxied to the appropriate method. |
| 223 | """ |
| 224 | bl = BoundLogger(ReturnLogger(), [return_method_name], {}) |
| 225 | |
| 226 | assert "critical" == bl.log(50, "event") |
| 227 | assert "debug" == bl.log(10, "event") |
| 228 | |
| 229 | def test_positional_args_proxied(self): |
| 230 | """ |
nothing calls this directly
no test coverage detected