summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-27 15:53:45 +0100
committerErik Johnston <erik@matrix.org>2017-06-27 15:53:45 +0100
commit8c23221666f1a09fdc97c2b526cb100cdbd32f60 (patch)
tree89cb4b139527f59388026987204e66b878bab931 /tests/storage
parentMake workers report to master for user ip updates (diff)
downloadsynapse-8c23221666f1a09fdc97c2b526cb100cdbd32f60.tar.xz
Fix up
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_client_ips.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py
index 03df697575..bd6fda6cb1 100644
--- a/tests/storage/test_client_ips.py
+++ b/tests/storage/test_client_ips.py
@@ -15,9 +15,6 @@
 
 from twisted.internet import defer
 
-import synapse.server
-import synapse.storage
-import synapse.types
 import tests.unittest
 import tests.utils
 
@@ -39,7 +36,7 @@ class ClientIpStoreTestCase(tests.unittest.TestCase):
         self.clock.now = 12345678
         user_id = "@user:id"
         yield self.store.insert_client_ip(
-            synapse.types.UserID.from_string(user_id),
+            user_id,
             "access_token", "ip", "user_agent", "device_id",
         )