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

@ -33,8 +33,8 @@ class RoomComplexityTests(unittest.FederatingHomeserverTestCase):
login.register_servlets,
]
def default_config(self, name="test"):
config = super().default_config(name=name)
def default_config(self):
config = super().default_config()
config["limit_remote_rooms"] = {"enabled": True, "complexity": 0.05}
return config