Remove spurious "name" parameter to default_config

this is never set to anything other than "test", and is a source of unnecessary
boilerplate.
This commit is contained in:
Richard van der Hoff 2020-03-24 18:33:49 +00:00
parent 1fcf9c6f95
commit 28d9d6e8a9
9 changed files with 16 additions and 19 deletions

View file

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