Test logging with format arguments using f-string.
(self, logger)
| 231 | logger.critical("Critical message") |
| 232 | |
| 233 | def test_log_with_args(self, logger): |
| 234 | """Test logging with format arguments using f-string.""" |
| 235 | # Logger uses _format_message, not standard % formatting |
| 236 | logger.info(f"Message with {'string'} and {42}") |
| 237 | |
| 238 | def test_log_with_kwargs(self, logger): |
| 239 | """Test logging with kwargs.""" |