diff options
author | David Robertson <davidr@element.io> | 2023-03-10 16:30:45 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2023-03-10 16:34:19 +0000 |
commit | 2bf5878010e61facf53cf613fb74432ab75029bd (patch) | |
tree | 1b5c8c0d7ae58ee4df8dde9ffb69bebd1a293f15 /tests | |
parent | Changelog (diff) | |
download | synapse-2bf5878010e61facf53cf613fb74432ab75029bd.tar.xz |
change_membership: expose json_body
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/client/utils.py b/tests/rest/client/utils.py index 9532e5ddc1..3d3e0334db 100644 --- a/tests/rest/client/utils.py +++ b/tests/rest/client/utils.py @@ -279,7 +279,7 @@ class RestHelper: expect_code: int = HTTPStatus.OK, expect_errcode: Optional[str] = None, expect_additional_fields: Optional[dict] = None, - ) -> None: + ) -> JsonDict: """ Send a membership state event into a room. @@ -353,6 +353,7 @@ class RestHelper: ) self.auth_user_id = temp_id + return channel.json_body def send( self, |