Add some tests for propagation of device list changes between local users (#11972)

This commit is contained in:
Andrew Morgan 2022-02-15 11:27:56 +00:00 committed by GitHub
parent c4c98c7518
commit 87f2005713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 163 additions and 3 deletions

View file

@ -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