diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-20 16:01:29 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-20 16:01:29 +0100 |
commit | 13a6517d89c0619a938321640f331571eba0edc9 (patch) | |
tree | 015269fdca734b7224f226a3abb5f42dcca9dadb /tests/rest/client/v1/utils.py | |
parent | Move token generation to auth handler (diff) | |
download | synapse-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/rest/client/v1/utils.py')
-rw-r--r-- | tests/rest/client/v1/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/utils.py b/tests/rest/client/v1/utils.py index 579441fb4a..c472d53043 100644 --- a/tests/rest/client/v1/utils.py +++ b/tests/rest/client/v1/utils.py @@ -37,7 +37,7 @@ class RestTestCase(unittest.TestCase): self.mock_resource = None self.auth_user_id = None - def mock_get_user_by_token(self, token=None): + def mock_get_user_by_access_token(self, token=None): return self.auth_user_id @defer.inlineCallbacks |