mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
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:
parent
1fcf9c6f95
commit
28d9d6e8a9
9 changed files with 16 additions and 19 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue