1
0
Files
synapse/tests/server.py
Sean Quah 3d89472339 Expose the SynapseRequest from FakeChannel for testing disconnection
In order to simulate a client disconnection in tests, we would like to
call `Request.connectionLost`. Make the `Request` accessible from the
`FakeChannel` returned by `make_request`.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-28 19:28:00 +01:00

27 KiB