mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_tests
Add tests for outbound device pokes
This commit is contained in:
commit
6486c96b65
11 changed files with 318 additions and 22 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue