From f9b66d9df8c095e255559c11f378b1b34eebbb01 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 26 Mar 2020 11:58:43 +0000 Subject: [PATCH] Fix unit tests --- tests/replication/slave/storage/_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/replication/slave/storage/_base.py b/tests/replication/slave/storage/_base.py index 395c7d030623..f1c84fa0a05b 100644 --- a/tests/replication/slave/storage/_base.py +++ b/tests/replication/slave/storage/_base.py @@ -57,6 +57,8 @@ def prepare(self, reactor, clock, hs): # We now do some gut wrenching so that we have a client that is based # off of the slave store rather than the main store. self.replication_handler = ReplicationCommandHandler(self.hs) + self.replication_handler._store = self.slaved_store + self.replication_handler._replication_data_handler = ReplicationDataHandler( self.slaved_store )