summary refs log tree commit diff
path: root/tests/api
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-05-10 14:06:56 +0100
committerGitHub <noreply@github.com>2022-05-10 14:06:56 +0100
commitdbb12a0b547914024316b6eb510069e900680e42 (patch)
treecd473b0e438a1500cae1ee1240bc3128871fbf40 /tests/api
parentAdd ability to cancel disconnected requests to `SynapseRequest` (#12588) (diff)
downloadsynapse-dbb12a0b547914024316b6eb510069e900680e42.tar.xz
Add helper class for testing request cancellation (#12630)
Also expose the `SynapseRequest` from `FakeChannel` in tests, so that
we can call `Request.connectionLost` to simulate a client disconnecting.

Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'tests/api')
0 files changed, 0 insertions, 0 deletions