mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 20:44:50 -04:00
Convert the message handler to async/await. (#7884)
This commit is contained in:
parent
a4cf94a3c2
commit
cc9bb3dc3f
10 changed files with 273 additions and 238 deletions
|
@ -603,7 +603,9 @@ class HomeserverTestCase(TestCase):
|
|||
user: MXID of the user to inject the membership for.
|
||||
membership: The membership type.
|
||||
"""
|
||||
event_injection.inject_member_event(self.hs, room, user, membership)
|
||||
self.get_success(
|
||||
event_injection.inject_member_event(self.hs, room, user, membership)
|
||||
)
|
||||
|
||||
|
||||
class FederatingHomeserverTestCase(HomeserverTestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue