pass a Site into RestHelper

This commit is contained in:
Richard van der Hoff 2020-11-13 22:34:08 +00:00
parent 023f791143
commit d3523e3e97
2 changed files with 7 additions and 6 deletions

View file

@ -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: