summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-07-24 09:57:49 +0100
committerRichard van der Hoff <richard@matrix.org>2020-07-24 09:57:49 +0100
commitbe777e325dedab1ee84e5bbd96f7571b8490a8ec (patch)
tree16fd1b1a1b15bba5f5e78037ddada7525ae8b653 /tests/unittest.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentDowngrade warning on client disconnect to INFO (#7928) (diff)
downloadsynapse-be777e325dedab1ee84e5bbd96f7571b8490a8ec.tar.xz
Merge branch 'develop' into matrix-org-hotfixes
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):