summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-11-13 22:34:08 +0000
committerRichard van der Hoff <richard@matrix.org>2020-11-15 23:09:03 +0000
commitd3523e3e9727f0a81f88e9aa58a8f0fc2b3ee260 (patch)
treed8c4af1676d8824cb86a24245606640c12f5ceb1 /tests/unittest.py
parentMigrate documentation `docs/admin_api/event_reports` to markdown (#8742) (diff)
downloadsynapse-d3523e3e9727f0a81f88e9aa58a8f0fc2b3ee260.tar.xz
pass a Site into RestHelper
Diffstat (limited to '')
-rw-r--r--tests/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py
index e36ac89196..0a24c2f6b2 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -253,7 +253,7 @@ class HomeserverTestCase(TestCase):
 
         from tests.rest.client.v1.utils import RestHelper
 
-        self.helper = RestHelper(self.hs, self.resource, getattr(self, "user_id", None))
+        self.helper = RestHelper(self.hs, self.site, getattr(self, "user_id", None))
 
         if hasattr(self, "user_id"):
             if self.hijack_auth: