fix setup_test_homeserver to be postgres compatible

This commit is contained in:
Neil Johnson 2018-08-14 17:14:39 +01:00
parent cd0c749c4f
commit 7277216d01

View File

@ -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()