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/unittest.py | |
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/unittest.py')
-rw-r--r-- | tests/unittest.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index 8816a4d152..23b59bea22 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -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. |