(level: int, msg: str, exc_info: logging._SysExcInfoType | None = None)
| 9 | |
| 10 | |
| 11 | def get_log_record(level: int, msg: str, exc_info: logging._SysExcInfoType | None = None) -> logging.LogRecord: |
| 12 | return logging.LogRecord( |
| 13 | name='test', |
| 14 | level=level, |
| 15 | pathname=__file__, |
| 16 | lineno=0, |
| 17 | msg=msg, |
| 18 | args=(), |
| 19 | exc_info=exc_info, |
| 20 | ) |
| 21 | |
| 22 | |
| 23 | @pytest.mark.parametrize( |
no outgoing calls
no test coverage detected