summary refs log tree commit diff
path: root/tests/replication/slave/storage/_base.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-18 17:53:47 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-18 17:53:47 +0000
commitd4ac2758dd712d8cddf235c3ee9c66b48f47cb0f (patch)
tree4b0ec8d6fe8ab0512541e2c29220ab5f0e3d746f /tests/replication/slave/storage/_base.py
parentadd etag and count to key backup endpoints (#5858) (diff)
parentImplementation of MSC2314 (#6176) (diff)
downloadsynapse-d4ac2758dd712d8cddf235c3ee9c66b48f47cb0f.tar.xz
Implementation of MSC2314 (#6176)
* commit '0f87b912a':
  Implementation of MSC2314 (#6176)
Diffstat (limited to 'tests/replication/slave/storage/_base.py')
-rw-r--r--tests/replication/slave/storage/_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/replication/slave/storage/_base.py b/tests/replication/slave/storage/_base.py

index 4f924ce451..e7472e3a93 100644 --- a/tests/replication/slave/storage/_base.py +++ b/tests/replication/slave/storage/_base.py
@@ -48,7 +48,10 @@ class BaseSlavedStoreTestCase(unittest.HomeserverTestCase): server_factory = ReplicationStreamProtocolFactory(self.hs) self.streamer = server_factory.streamer + handler_factory = Mock() self.replication_handler = ReplicationClientHandler(self.slaved_store) + self.replication_handler.factory = handler_factory + client_factory = ReplicationClientFactory( self.hs, "client_name", self.replication_handler )