summary refs log tree commit diff
path: root/tests/api
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:29:39 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:29:39 +0100
commita9d8bd95e722e24c7ddd6b14a3714c1b2f737d4d (patch)
tree693d21429ea9258891c117d8c02694f4dfc36d1e /tests/api
parentRe-wrap line (diff)
downloadsynapse-a9d8bd95e722e24c7ddd6b14a3714c1b2f737d4d.tar.xz
Stop looking up "admin", which we never read
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/test_auth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/api/test_auth.py b/tests/api/test_auth.py
index 777eb0395e..22fc804331 100644
--- a/tests/api/test_auth.py
+++ b/tests/api/test_auth.py
@@ -41,7 +41,6 @@ class AuthTestCase(unittest.TestCase):
         user_info = {
             "name": self.test_user,
             "token_id": "ditto",
-            "admin": False
         }
         self.store.get_user_by_access_token = Mock(return_value=user_info)
 
@@ -66,7 +65,6 @@ class AuthTestCase(unittest.TestCase):
         user_info = {
             "name": self.test_user,
             "token_id": "ditto",
-            "admin": False
         }
         self.store.get_user_by_access_token = Mock(return_value=user_info)