summary refs log tree commit diff
diff options
context:
space:
mode:
authorSean Quah <seanq@element.io>2022-05-06 20:29:09 +0100
committerSean Quah <seanq@element.io>2022-05-06 20:54:30 +0100
commit4976ae50aac2851f3b7d5681e53e48d05f9c0b45 (patch)
treebe859922388044f569569cde3649972fe1b7a44a
parentRename to `EndpointCancellationTestCase` to `EndpointCancellationTestHelperMi... (diff)
downloadsynapse-4976ae50aac2851f3b7d5681e53e48d05f9c0b45.tar.xz
Add missing docstring for `expected_body` parameter
Signed-off-by: Sean Quah <seanq@element.io>
-rw-r--r--tests/http/server/_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/http/server/_base.py b/tests/http/server/_base.py

index dc82085581..02b20b2cc8 100644 --- a/tests/http/server/_base.py +++ b/tests/http/server/_base.py
@@ -48,6 +48,8 @@ class EndpointCancellationTestHelperMixin(unittest.TestCase): expect_cancellation: `True` if request processing is expected to be cancelled, `False` if the request should run to completion. expected_body: The expected response for the request. + expected_code: The expected status code for the request. Defaults to `200` + or `499` depending on `expect_cancellation`. """ # Determine the expected status code. if expected_code is None: