update to newer Synapse APIs
This commit is contained in:
parent
83caead95a
commit
16a31c6fce
|
@ -18,7 +18,7 @@ import logging
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
from synapse.api.errors import StoreError, SynapseError, RoomKeysVersionError
|
from synapse.api.errors import StoreError, SynapseError, RoomKeysVersionError
|
||||||
from synapse.util.async import Linearizer
|
from synapse.util.async_helpers import Linearizer
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@ class E2eRoomKeysHandlerTestCase(unittest.TestCase):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.hs = yield utils.setup_test_homeserver(
|
self.hs = yield utils.setup_test_homeserver(
|
||||||
|
self.addCleanup,
|
||||||
handlers=None,
|
handlers=None,
|
||||||
replication_layer=mock.Mock(),
|
replication_layer=mock.Mock(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue