Test creating transport with a Server instance.
(simple_server: Server)
| 59 | |
| 60 | |
| 61 | async def test_with_server(simple_server: Server): |
| 62 | """Test creating transport with a Server instance.""" |
| 63 | transport = InMemoryTransport(simple_server) |
| 64 | async with transport as (read_stream, write_stream): |
| 65 | assert read_stream is not None |
| 66 | assert write_stream is not None |
| 67 | |
| 68 | |
| 69 | async def test_with_mcpserver(mcpserver_server: MCPServer): |
nothing calls this directly
no test coverage detected