diff options
author | Eric Eastwood <eric.eastwood@beta.gouv.fr> | 2024-07-02 11:07:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 11:07:05 -0500 |
commit | fa916558056013678e88d9dc2a2f64b161d9c77f (patch) | |
tree | 2a726ca48f2a131047d31199a481c9b41f539f5c /tests/rest/client/utils.py | |
parent | Merge branch 'release-v1.110' into develop (diff) | |
download | synapse-fa916558056013678e88d9dc2a2f64b161d9c77f.tar.xz |
Return some room data in Sliding Sync `/sync` (#17320)
- Timeline events - Stripped `invite_state` Based on [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575): Sliding Sync
Diffstat (limited to 'tests/rest/client/utils.py')
-rw-r--r-- | tests/rest/client/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/utils.py b/tests/rest/client/utils.py index f0ba40a1f1..e43140720d 100644 --- a/tests/rest/client/utils.py +++ b/tests/rest/client/utils.py @@ -261,9 +261,9 @@ class RestHelper: targ: str, expect_code: int = HTTPStatus.OK, tok: Optional[str] = None, - ) -> None: + ) -> JsonDict: """A convenience helper: `change_membership` with `membership` preset to "ban".""" - self.change_membership( + return self.change_membership( room=room, src=src, targ=targ, |