summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 16:01:29 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 16:01:29 +0100
commit13a6517d89c0619a938321640f331571eba0edc9 (patch)
tree015269fdca734b7224f226a3abb5f42dcca9dadb /tests/utils.py
parentMove token generation to auth handler (diff)
downloadsynapse-13a6517d89c0619a938321640f331571eba0edc9.tar.xz
s/by_token/by_access_token/g
We're about to have two kinds of token, access and refresh
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 80be70b74f..d0fba2252d 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -277,7 +277,7 @@ class MemoryDataStore(object):
             raise StoreError(400, "User in use.")
         self.tokens_to_users[token] = user_id
 
-    def get_user_by_token(self, token):
+    def get_user_by_access_token(self, token):
         try:
             return {
                 "name": self.tokens_to_users[token],