diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-11-16 15:22:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 15:22:40 +0000 |
commit | bebfb9a97b4e6a5cc840dc6906e4aaebd5d7d30d (patch) | |
tree | 307ea9eba33d0301b39b79e0e0f9c2913b1418b0 /tests/rest/test_well_known.py | |
parent | changelog (diff) | |
parent | Rename `create_test_json_resource` to `create_test_resource` (#8759) (diff) | |
download | synapse-bebfb9a97b4e6a5cc840dc6906e4aaebd5d7d30d.tar.xz |
Merge branch 'develop' into rav/pass_site_to_make_request
Diffstat (limited to 'tests/rest/test_well_known.py')
-rw-r--r-- | tests/rest/test_well_known.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/rest/test_well_known.py b/tests/rest/test_well_known.py index dcd65c2a50..a3746e7130 100644 --- a/tests/rest/test_well_known.py +++ b/tests/rest/test_well_known.py @@ -20,11 +20,9 @@ from tests import unittest class WellKnownTests(unittest.HomeserverTestCase): - def setUp(self): - super().setUp() - + def create_test_resource(self): # replace the JsonResource with a WellKnownResource - self.resource = WellKnownResource(self.hs) + return WellKnownResource(self.hs) def test_well_known(self): self.hs.config.public_baseurl = "https://tesths" |