Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_tests

Add tests for outbound device pokes
This commit is contained in:
Richard van der Hoff 2020-03-30 13:59:07 +01:00 committed by GitHub
commit 6486c96b65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 318 additions and 22 deletions

View file

@ -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(