summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-03-30 13:59:07 +0100
committerGitHub <noreply@github.com>2020-03-30 13:59:07 +0100
commit6486c96b6549fe4c8e4c9a207d767004614b5302 (patch)
tree98346ace7a246634551a9857d30039de091f236d /tests/unittest.py
parentAdd developer documentation for running a local CAS server (#7147) (diff)
parentAdd tests for outbound device pokes (diff)
downloadsynapse-6486c96b6549fe4c8e4c9a207d767004614b5302.tar.xz
Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_tests
Add tests for outbound device pokes
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/unittest.py b/tests/unittest.py

index 439174dbfc..d0406ca2fd 100644 --- a/tests/unittest.py +++ b/tests/unittest.py
@@ -315,14 +315,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. @@ -497,6 +494,7 @@ class HomeserverTestCase(TestCase): "password": password, "admin": admin, "mac": want_mac, + "inhibit_login": True, } ) request, channel = self.make_request(