summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-10-02 18:10:55 +0100
committerRichard van der Hoff <richard@matrix.org>2020-10-05 19:04:10 +0100
commite775b5bb5bb2b9e42607f9514ae2e270270a8932 (patch)
treeeb1c574616f47699b3cd7b534e84edd8de694e9d /tests/unittest.py
parentpull up event.sender assertion (diff)
downloadsynapse-e775b5bb5bb2b9e42607f9514ae2e270270a8932.tar.xz
kill off `send_nonmember_event`
This is now redundant, and we can just call `handle_new_client_event` directly.
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 82ede9de34..5c87f6097e 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -608,7 +608,9 @@ class HomeserverTestCase(TestCase):
         if soft_failed:
             event.internal_metadata.soft_failed = True
 
-        self.get_success(event_creator.send_nonmember_event(requester, event, context))
+        self.get_success(
+            event_creator.handle_new_client_event(requester, event, context)
+        )
 
         return event.event_id