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

@ -311,14 +311,11 @@ class HomeserverTestCase(TestCase):
return resource
def default_config(self, name="test"):
def default_config(self):
"""
Get a default HomeServer config dict.
Args:
name (str): The homeserver name/domain.
"""
config = default_config(name)
config = default_config("test")
# apply any additional config which was specified via the override_config
# decorator.