From 58f8eb5af93185dd46afc0f93e7eae9263cb8ccc Mon Sep 17 00:00:00 2001 From: Nick Mills-Barrett Date: Tue, 19 Sep 2023 14:06:54 +0100 Subject: [PATCH] Disable test for edit mention notification --- tests/push/test_bulk_push_rule_evaluator.py | 32 +++++++++++---------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/tests/push/test_bulk_push_rule_evaluator.py b/tests/push/test_bulk_push_rule_evaluator.py index 829b9df83d4e..23d281286d9f 100644 --- a/tests/push/test_bulk_push_rule_evaluator.py +++ b/tests/push/test_bulk_push_rule_evaluator.py @@ -423,19 +423,21 @@ def test_suppress_edits(self) -> None: ) ) + # Beep: we don't send notifs for these + # An edit which is a mention will cause a notification. - self.assertTrue( - self._create_and_process( - bulk_evaluator, - { - "body": "Test message", - "m.relates_to": { - "rel_type": RelationTypes.REPLACE, - "event_id": event.event_id, - }, - "m.mentions": { - "user_ids": [self.alice], - }, - }, - ) - ) + # self.assertTrue( + # self._create_and_process( + # bulk_evaluator, + # { + # "body": "Test message", + # "m.relates_to": { + # "rel_type": RelationTypes.REPLACE, + # "event_id": event.event_id, + # }, + # "m.mentions": { + # "user_ids": [self.alice], + # }, + # }, + # ) + # )