summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-08-25 17:19:06 +0100
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-08-25 17:19:06 +0100
commitee3fa1a99c4a5436804bb6ada0b0ac18db9e1d1b (patch)
tree710bc81019543d7c2fd9eabc6dfd45680b4efcfd /tests/utils.py
parentMerge pull request #247 from matrix-org/markjh/tox (diff)
parentFix up one more reference (diff)
downloadsynapse-ee3fa1a99c4a5436804bb6ada0b0ac18db9e1d1b.tar.xz
Merge pull request #248 from matrix-org/deviceid
Remove completely unused concepts from codebase
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py
index d0fba2252d..ff560ef342 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -282,7 +282,6 @@ class MemoryDataStore(object):
             return {
                 "name": self.tokens_to_users[token],
                 "admin": 0,
-                "device_id": None,
             }
         except:
             raise StoreError(400, "User does not exist.")
@@ -380,7 +379,7 @@ class MemoryDataStore(object):
     def get_ops_levels(self, room_id):
         return defer.succeed((5, 5, 5))
 
-    def insert_client_ip(self, user, device_id, access_token, ip, user_agent):
+    def insert_client_ip(self, user, access_token, ip, user_agent):
         return defer.succeed(None)