summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-08-12 15:05:50 +0100
committerGitHub <noreply@github.com>2020-08-12 15:05:50 +0100
commit5dd73d029eff32668b3ca69b7fb8529fc7c58745 (patch)
treea916cf9981f7ef86e08b20598d1461853b9e3f4f /tests
parentConvert account data, device inbox, and censor events databases to async/awai... (diff)
downloadsynapse-5dd73d029eff32668b3ca69b7fb8529fc7c58745.tar.xz
Add type hints to handlers.message and events.builder (#8067)
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/test_retention.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/client/test_retention.py b/tests/rest/client/test_retention.py
index e54ffea150..0b191d13c6 100644
--- a/tests/rest/client/test_retention.py
+++ b/tests/rest/client/test_retention.py
@@ -144,7 +144,9 @@ class RetentionTestCase(unittest.HomeserverTestCase):
         # Get the create event to, later, check that we can still access it.
         message_handler = self.hs.get_message_handler()
         create_event = self.get_success(
-            message_handler.get_room_data(self.user_id, room_id, EventTypes.Create)
+            message_handler.get_room_data(
+                self.user_id, room_id, EventTypes.Create, state_key="", is_guest=False
+            )
         )
 
         # Send a first event to the room. This is the event we'll want to be purged at the