summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-08-03 17:39:27 -0700
committerAndrew Morgan <andrew@amorgan.xyz>2020-08-03 17:39:27 -0700
commit3b44a5509670dab5b9446420457d7ea882c7badb (patch)
tree6d01d548cd08ed164ef9a80c2c1dcae5ef90e73a /tests/unittest.py
parentMerge commit 'a4cf94a3c' into anoa/dinsic_release_1_18_x (diff)
parentConvert the message handler to async/await. (#7884) (diff)
downloadsynapse-3b44a5509670dab5b9446420457d7ea882c7badb.tar.xz
Merge commit 'cc9bb3dc3' into anoa/dinsic_release_1_18_x
* commit 'cc9bb3dc3':
  Convert the message handler to async/await. (#7884)
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py

index 3175a3fa02..68d2586efd 100644 --- a/tests/unittest.py +++ b/tests/unittest.py
@@ -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):