diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-04-23 17:06:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 17:06:47 +0100 |
commit | 59d24c5bef4e05fa7be0cad1f7e63f0a0097374b (patch) | |
tree | 73d1af65fe53576035380929b3ee4b6836317ec9 /tests | |
parent | Add type hints to auth and auth_blocking. (#9876) (diff) | |
download | synapse-59d24c5bef4e05fa7be0cad1f7e63f0a0097374b.tar.xz |
pass a reactor into SynapseSite (#9874)
Diffstat (limited to '')
-rw-r--r-- | tests/replication/_base.py | 1 | ||||
-rw-r--r-- | tests/test_server.py | 1 | ||||
-rw-r--r-- | tests/unittest.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py index c9d04aef29..5cf58d8b60 100644 --- a/tests/replication/_base.py +++ b/tests/replication/_base.py @@ -349,6 +349,7 @@ class BaseMultiWorkerStreamTestCase(unittest.HomeserverTestCase): config=worker_hs.config.server.listeners[0], resource=resource, server_version_string="1", + reactor=self.reactor, ) if worker_hs.config.redis.redis_enabled: diff --git a/tests/test_server.py b/tests/test_server.py index 55cde7f62f..45400be367 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -202,6 +202,7 @@ class OptionsResourceTests(unittest.TestCase): parse_listener_def({"type": "http", "port": 0}), self.resource, "1.0", + reactor=self.reactor, ) # render the request and return the channel diff --git a/tests/unittest.py b/tests/unittest.py index ee22a53849..5353e75c7c 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -247,6 +247,7 @@ class HomeserverTestCase(TestCase): config=self.hs.config.server.listeners[0], resource=self.resource, server_version_string="1", + reactor=self.reactor, ) from tests.rest.client.v1.utils import RestHelper |