summary refs log tree commit diff
path: root/tests/test_terms_auth.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-03-24 18:33:49 +0000
committerRichard van der Hoff <richard@matrix.org>2020-03-24 18:33:49 +0000
commit28d9d6e8a9d6a6d5162de41cada1b6d6d4b0f941 (patch)
tree58d9f387406f368b92c9af2ab443c616baa13e4a /tests/test_terms_auth.py
parentFix CAS redirect url (#6634) (diff)
downloadsynapse-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/test_terms_auth.py')
-rw-r--r--tests/test_terms_auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py
index 5ec5d2b358..81d796f3f3 100644
--- a/tests/test_terms_auth.py
+++ b/tests/test_terms_auth.py
@@ -28,8 +28,8 @@ from tests import unittest
 class TermsTestCase(unittest.HomeserverTestCase):
     servlets = [register_servlets]
 
-    def default_config(self, name="test"):
-        config = super().default_config(name)
+    def default_config(self):
+        config = super().default_config()
         config.update(
             {
                 "public_baseurl": "https://example.org/",