summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-22 18:18:31 +0000
committerErik Johnston <erik@matrix.org>2016-11-22 18:18:31 +0000
commit54fed21c049ba89d71242e8c8fc0133fe703395c (patch)
tree4db3a7d6c3755299a1399c5131669c005ec95287
parentInvalidate retry cache in both directions (diff)
downloadsynapse-54fed21c049ba89d71242e8c8fc0133fe703395c.tar.xz
Fix tests and flake8
-rw-r--r--synapse/storage/transactions.py1
-rw-r--r--tests/utils.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index ee2efb0d36..809fdd311f 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -14,7 +14,6 @@
 # limitations under the License.
 
 from ._base import SQLBaseStore
-from synapse.storage.engines import PostgresEngine
 from synapse.util.caches.descriptors import cached
 
 from twisted.internet import defer
diff --git a/tests/utils.py b/tests/utils.py
index bf6449a0fc..ab2252d24c 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -53,6 +53,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
         config.trusted_third_party_id_servers = []
         config.room_invite_state_types = []
         config.password_providers = []
+        config.worker_replication_url = ""
 
     config.use_frozen_dicts = True
     config.database_config = {"name": "sqlite3"}