Run tests under PostgreSQL (#3423)

This commit is contained in:
Amber Brown 2018-08-13 16:47:46 +10:00 committed by GitHub
parent a001038b92
commit 99dd975dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 227 additions and 59 deletions

View file

@ -46,7 +46,10 @@ class FilteringTestCase(unittest.TestCase):
self.mock_http_client.put_json = DeferredMockCallable()
hs = yield setup_test_homeserver(
handlers=None, http_client=self.mock_http_client, keyring=Mock()
self.addCleanup,
handlers=None,
http_client=self.mock_http_client,
keyring=Mock(),
)
self.filtering = hs.get_filtering()