summary refs log tree commit diff
path: root/tests/push/test_bulk_push_rule_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/push/test_bulk_push_rule_evaluator.py')
-rw-r--r--tests/push/test_bulk_push_rule_evaluator.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/push/test_bulk_push_rule_evaluator.py b/tests/push/test_bulk_push_rule_evaluator.py

index 7567756135..2fe879df47 100644 --- a/tests/push/test_bulk_push_rule_evaluator.py +++ b/tests/push/test_bulk_push_rule_evaluator.py
@@ -131,7 +131,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): # Create a new message event, and try to evaluate it under the dodgy # power level event. - event, context = self.get_success( + event, context, _ = self.get_success( self.event_creation_handler.create_event( self.requester, { @@ -171,7 +171,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): """Ensure that push rules are not calculated when disabled in the config""" # Create a new message event which should cause a notification. - event, context = self.get_success( + event, context, _ = self.get_success( self.event_creation_handler.create_event( self.requester, { @@ -201,7 +201,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): ) -> bool: """Returns true iff the `mentions` trigger an event push action.""" # Create a new message event which should cause a notification. - event, context = self.get_success( + event, context, _ = self.get_success( self.event_creation_handler.create_event( self.requester, { @@ -377,7 +377,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): bulk_evaluator = BulkPushRuleEvaluator(self.hs) # Create & persist an event to use as the parent of the relation. - event, context = self.get_success( + event, context, _ = self.get_success( self.event_creation_handler.create_event( self.requester, {