mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 08:04:09 -04:00
Add a slaved receipts store
This commit is contained in:
parent
e8884e5e9c
commit
5bbd424ee0
4 changed files with 104 additions and 3 deletions
|
@ -16,6 +16,7 @@ from ._base import BaseSlavedStoreTestCase
|
|||
|
||||
from synapse.events import FrozenEvent, _EventInternalMetadata
|
||||
from synapse.events.snapshot import EventContext
|
||||
from synapse.replication.slave.storage.events import SlavedEventStore
|
||||
from synapse.storage.roommember import RoomsForUser
|
||||
|
||||
from twisted.internet import defer
|
||||
|
@ -43,6 +44,8 @@ def patch__eq__(cls):
|
|||
|
||||
class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
|
||||
|
||||
STORE_TYPE = SlavedEventStore
|
||||
|
||||
def setUp(self):
|
||||
# Patch up the equality operator for events so that we can check
|
||||
# whether lists of events match using assertEquals
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue