summary refs log tree commit diff
path: root/tests/rest/admin/test_user.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-10-29 18:21:49 +0000
committerGitHub <noreply@github.com>2020-10-29 18:21:49 +0000
commitef2d62701573098c1e4aa25196043cc6fea7675c (patch)
tree8e6ccb0ef046b238106735daebceea93b8f19ace /tests/rest/admin/test_user.py
parentTie together matches_user_in_member_list and get_users_in_room caches (#8676) (diff)
downloadsynapse-ef2d62701573098c1e4aa25196043cc6fea7675c.tar.xz
Fix unit tests (#8689)
* Fix unit tests

* Newsfile
Diffstat (limited to 'tests/rest/admin/test_user.py')
-rw-r--r--tests/rest/admin/test_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py
index 0b728e7ffc..7df32e5093 100644
--- a/tests/rest/admin/test_user.py
+++ b/tests/rest/admin/test_user.py
@@ -1206,7 +1206,7 @@ class PushersRestTestCase(unittest.HomeserverTestCase):
         user_tuple = self.get_success(
             self.store.get_user_by_access_token(other_user_token)
         )
-        token_id = user_tuple["token_id"]
+        token_id = user_tuple.token_id
 
         self.get_success(
             self.hs.get_pusherpool().add_pusher(