Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Disable test for edit mention notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Sep 19, 2023
1 parent a186f91 commit 58f8eb5
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions tests/push/test_bulk_push_rule_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
# },
# },
# )
# )

0 comments on commit 58f8eb5

Please sign in to comment.