Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Use subtest when looping through event types.
Alex Vandiver62b2e1f6424c
diff --git a/zerver/tests/test_event_system.py b/zerver/tests/test_event_system.pyindex a0bf7a3a63a..8796cf5a6f8 100644--- a/zerver/tests/test_event_system.py+++ b/zerver/tests/test_event_system.py@@ -1342,7 +1342,7 @@ class FetchQueriesTest(ZulipTestCase):for event_type in sorted(wanted_event_types):count = expected_counts[event_type]- with self.assert_database_query_count(count):+ with self.subTest(event_type=event_type), self.assert_database_query_count(count):if event_type == "update_message_flags":event_types = ["update_message_flags", "message"]else: