()
| 50 | |
| 51 | @pytest.mark.anyio |
| 52 | async def test_websocket_auto(): |
| 53 | config = Config(app=app) |
| 54 | server_state = ServerState() |
| 55 | |
| 56 | assert AutoWebSocketsProtocol is not None |
| 57 | protocol = AutoWebSocketsProtocol(config=config, server_state=server_state, app_state={}) |
| 58 | assert type(protocol).__name__ == expected_websockets |
nothing calls this directly
no test coverage detected