Test WebSocketLogHandler initialization.
()
| 373 | |
| 374 | |
| 375 | def test_websocketloghandler_init(): |
| 376 | """Test WebSocketLogHandler initialization.""" |
| 377 | manager = MagicMock() |
| 378 | handler = WebSocketLogHandler(manager) |
| 379 | |
| 380 | assert handler.manager == manager |
| 381 | assert isinstance(handler.formatter, logging.Formatter) |
| 382 | |
| 383 | |
| 384 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected