diff options
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/utils.py b/tests/utils.py index 15fabbc2d0..a22f1d1241 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -335,9 +335,11 @@ async def create_room(hs: HomeServer, room_id: str, creator_id: str) -> None: }, ) - event, unpersisted_context = await event_creation_handler.create_new_client_event( - builder - ) + ( + event, + unpersisted_context, + _, + ) = await event_creation_handler.create_new_client_event(builder) context = await unpersisted_context.persist(event) await persistence_store.persist_event(event, context) |