diff options
author | David Robertson <davidr@element.io> | 2021-11-16 10:41:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 10:41:35 +0000 |
commit | 0dda1a79687b8375dd5b23763ba1585e5dad030d (patch) | |
tree | dd60cd7bd9585e775c1b65b23de8997db1298a39 /tests/server.py | |
parent | change 'Home Server' to one word 'homeserver' (#11320) (diff) | |
download | synapse-0dda1a79687b8375dd5b23763ba1585e5dad030d.tar.xz |
Misc typing fixes for tests, part 2 of N (#11330)
Diffstat (limited to 'tests/server.py')
-rw-r--r-- | tests/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py index a7cc5cd325..40cf5b12c3 100644 --- a/tests/server.py +++ b/tests/server.py @@ -24,6 +24,7 @@ from typing import ( MutableMapping, Optional, Tuple, + Type, Union, ) @@ -226,7 +227,7 @@ def make_request( path: Union[bytes, str], content: Union[bytes, str, JsonDict] = b"", access_token: Optional[str] = None, - request: Request = SynapseRequest, + request: Type[Request] = SynapseRequest, shorthand: bool = True, federation_auth_origin: Optional[bytes] = None, content_is_form: bool = False, |