summary refs log tree commit diff
path: root/tests/push/test_email.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-10-21 11:26:08 +0100
committerErik Johnston <erik@matrix.org>2020-10-21 16:53:40 +0100
commitc238a543570be1d8ad0748561b76bf823fbb9d6a (patch)
treebd348e7fb5fbbe176e50861fb688d39902f19c1d /tests/push/test_email.py
parentAdd typing info to registration (diff)
downloadsynapse-c238a543570be1d8ad0748561b76bf823fbb9d6a.tar.xz
Make get_user_by_access_token return a proper type
Diffstat (limited to 'tests/push/test_email.py')
-rw-r--r--tests/push/test_email.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/push/test_email.py b/tests/push/test_email.py

index 55545d9341..476781daf0 100644 --- a/tests/push/test_email.py +++ b/tests/push/test_email.py
@@ -100,7 +100,7 @@ class EmailPusherTests(HomeserverTestCase): user_tuple = self.get_success( self.hs.get_datastore().get_user_by_access_token(self.access_token) ) - token_id = user_tuple["token_id"] + token_id = user_tuple.token_id self.pusher = self.get_success( self.hs.get_pusherpool().add_pusher(