diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-02-15 11:27:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 11:27:56 +0000 |
commit | 87f200571386b131f841f8abc8bb08efb6c3be52 (patch) | |
tree | e6648a124775d7fc033b4f8eb51552620f0e733b /tests/rest/client/utils.py | |
parent | Revert "Pin to frozendict<2.1.2 (#11625)" and allow frozendict>2.1.2 (#11969) (diff) | |
download | synapse-87f200571386b131f841f8abc8bb08efb6c3be52.tar.xz |
Add some tests for propagation of device list changes between local users (#11972)
Diffstat (limited to '')
-rw-r--r-- | tests/rest/client/utils.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/rest/client/utils.py b/tests/rest/client/utils.py index 1c0cb0cf4f..2b3fdadffa 100644 --- a/tests/rest/client/utils.py +++ b/tests/rest/client/utils.py @@ -106,9 +106,13 @@ class RestHelper: default room version. tok: The access token to use in the request. expect_code: The expected HTTP response code. + extra_content: Extra keys to include in the body of the /createRoom request. + Note that if is_public is set, the "visibility" key will be overridden. + If room_version is set, the "room_version" key will be overridden. + custom_headers: HTTP headers to include in the request. Returns: - The ID of the newly created room. + The ID of the newly created room, or None if the request failed. """ temp_id = self.auth_user_id self.auth_user_id = room_creator |