mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 08:46:01 -04:00
Run tests under PostgreSQL (#3423)
This commit is contained in:
parent
a001038b92
commit
99dd975dae
49 changed files with 227 additions and 59 deletions
|
@ -26,7 +26,7 @@ from tests.utils import setup_test_homeserver
|
|||
class RoomStoreTestCase(unittest.TestCase):
|
||||
@defer.inlineCallbacks
|
||||
def setUp(self):
|
||||
hs = yield setup_test_homeserver()
|
||||
hs = yield setup_test_homeserver(self.addCleanup)
|
||||
|
||||
# We can't test RoomStore on its own without the DirectoryStore, for
|
||||
# management of the 'room_aliases' table
|
||||
|
@ -57,7 +57,7 @@ class RoomStoreTestCase(unittest.TestCase):
|
|||
class RoomEventsStoreTestCase(unittest.TestCase):
|
||||
@defer.inlineCallbacks
|
||||
def setUp(self):
|
||||
hs = setup_test_homeserver()
|
||||
hs = setup_test_homeserver(self.addCleanup)
|
||||
|
||||
# Room events need the full datastore, for persist_event() and
|
||||
# get_room_state()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue