summary refs log tree commit diff
path: root/tests/handlers/test_sync.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 17:14:39 +0100
committerNeil Johnson <neil@matrix.org>2018-08-14 17:14:39 +0100
commit7277216d01261f055886d0ac7b1ae5e5c5fc33cf (patch)
tree5eaf700425afb2936220eb73ae7c37d270d1f18c /tests/handlers/test_sync.py
parentFix missing yield in synapse.storage.monthly_active_users.initialise_reserved... (diff)
downloadsynapse-7277216d01261f055886d0ac7b1ae5e5c5fc33cf.tar.xz
fix setup_test_homeserver to be postgres compatible
Diffstat (limited to 'tests/handlers/test_sync.py')
-rw-r--r--tests/handlers/test_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_sync.py b/tests/handlers/test_sync.py
index cfd37f3138..8c8b65e04e 100644
--- a/tests/handlers/test_sync.py
+++ b/tests/handlers/test_sync.py
@@ -29,7 +29,7 @@ class SyncTestCase(tests.unittest.TestCase):
 
     @defer.inlineCallbacks
     def setUp(self):
-        self.hs = yield setup_test_homeserver()
+        self.hs = yield setup_test_homeserver(self.addCleanup)
         self.sync_handler = SyncHandler(self.hs)
         self.store = self.hs.get_datastore()