diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-03-24 18:33:49 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-03-24 18:33:49 +0000 |
commit | 28d9d6e8a9d6a6d5162de41cada1b6d6d4b0f941 (patch) | |
tree | 58d9f387406f368b92c9af2ab443c616baa13e4a /tests/rest/client | |
parent | Fix CAS redirect url (#6634) (diff) | |
download | synapse-28d9d6e8a9d6a6d5162de41cada1b6d6d4b0f941.tar.xz |
Remove spurious "name" parameter to `default_config`
this is never set to anything other than "test", and is a source of unnecessary boilerplate.
Diffstat (limited to 'tests/rest/client')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py index d0c997e385..b6ed06e02d 100644 --- a/tests/rest/client/v2_alpha/test_register.py +++ b/tests/rest/client/v2_alpha/test_register.py @@ -36,8 +36,8 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase): servlets = [register.register_servlets] url = b"/_matrix/client/r0/register" - def default_config(self, name="test"): - config = super().default_config(name) + def default_config(self): + config = super().default_config() config["allow_guest_access"] = True return config |