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

Commit

Permalink
Only check aggregate counts for our target room
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Nov 28, 2022
1 parent 4068079 commit c9299ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/storage/test_event_push_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _assert_counts(notif_count: int, highlight_count: int) -> None:
user_id,
)
)
self.assertEqual(sum(aggregate_counts.values()), notif_count)
self.assertEqual(aggregate_counts[room_id], notif_count)

def _create_event(highlight: bool = False) -> str:
result = self.helper.send_event(
Expand Down

0 comments on commit c9299ae

Please sign in to comment.