summary refs log tree commit diff
path: root/tests/rest/client/v1/utils.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-09-14 18:09:33 +0100
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-09-14 18:09:33 +0100
commit728d07c8c13e8ded5d66dec971d18022be81e0aa (patch)
treee5f1fe8803642a85857185f98f33a4fcf10b8027 /tests/rest/client/v1/utils.py
parentMerge pull request #265 from matrix-org/erikj/check_room_exists (diff)
parents/user_id/user/g for consistency (diff)
downloadsynapse-728d07c8c13e8ded5d66dec971d18022be81e0aa.tar.xz
Merge pull request #256 from matrix-org/auth
Attempt to validate macaroons
Diffstat (limited to 'tests/rest/client/v1/utils.py')
-rw-r--r--tests/rest/client/v1/utils.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/rest/client/v1/utils.py b/tests/rest/client/v1/utils.py
index c472d53043..85096a0326 100644
--- a/tests/rest/client/v1/utils.py
+++ b/tests/rest/client/v1/utils.py
@@ -37,9 +37,6 @@ class RestTestCase(unittest.TestCase):
         self.mock_resource = None
         self.auth_user_id = None
 
-    def mock_get_user_by_access_token(self, token=None):
-        return self.auth_user_id
-
     @defer.inlineCallbacks
     def create_room_as(self, room_creator, is_public=True, tok=None):
         temp_id = self.auth_user_id