diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-08-11 10:43:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 10:43:40 -0400 |
commit | fab352ac2cb6a9d69a74be6d4255a9b71e0f7945 (patch) | |
tree | cb219d3166c1efad89f95e277b81420b37be93bb /tests/rest/client | |
parent | support federation queries through http connect proxy (#10475) (diff) | |
download | synapse-fab352ac2cb6a9d69a74be6d4255a9b71e0f7945.tar.xz |
Fix type hints in space summary tests. (#10575)
And ensure that the file is checked via mypy.
Diffstat (limited to 'tests/rest/client')
-rw-r--r-- | tests/rest/client/v1/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rest/client/v1/utils.py b/tests/rest/client/v1/utils.py index fc2d35596e..954ad1a1fd 100644 --- a/tests/rest/client/v1/utils.py +++ b/tests/rest/client/v1/utils.py @@ -47,10 +47,10 @@ class RestHelper: def create_room_as( self, - room_creator: str = None, + room_creator: Optional[str] = None, is_public: bool = True, - room_version: str = None, - tok: str = None, + room_version: Optional[str] = None, + tok: Optional[str] = None, expect_code: int = 200, extra_content: Optional[Dict] = None, custom_headers: Optional[ |