Distinct request/standalone outbounds so routing assertions can tell the channels apart.
(request_ch: StubOutbound, standalone_ch: StubOutbound)
| 73 | |
| 74 | |
| 75 | def _two_channel_session(request_ch: StubOutbound, standalone_ch: StubOutbound) -> ServerSession: |
| 76 | """Distinct request/standalone outbounds so routing assertions can tell the channels apart.""" |
| 77 | conn = Connection.from_envelope(LATEST_HANDSHAKE_VERSION, None, None, outbound=standalone_ch) |
| 78 | return ServerSession(request_ch, conn) |
| 79 | |
| 80 | |
| 81 | @pytest.mark.anyio |
no test coverage detected