Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_reactions: Fix ineffective mock due to indentation mistake.
Anders Kaseorga0e3de302f52
diff --git a/zerver/tests/test_reactions.py b/zerver/tests/test_reactions.pyindex b38cc954076..4b2f2d77048 100644--- a/zerver/tests/test_reactions.py+++ b/zerver/tests/test_reactions.py@@ -1031,7 +1031,7 @@ class ReactionAPIEventTest(EmojiReactionBase):m.side_effect = AssertionError("Events should be sent only after the transaction commits!")- self.api_post(reaction_sender, f"/api/v1/messages/{pm_id}/reactions", reaction_info)+ self.api_post(reaction_sender, f"/api/v1/messages/{pm_id}/reactions", reaction_info)event = events[0]["event"]event_user_ids = set(events[0]["users"])