mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
test_events: Use a better assertion when comparing event count.
This commit is contained in:
@@ -503,7 +503,7 @@ class EventsRegisterTest(ZulipTestCase):
|
||||
)
|
||||
action()
|
||||
events = client.event_queue.contents()
|
||||
self.assertTrue(len(events) == num_events)
|
||||
self.assertEqual(len(events), num_events)
|
||||
|
||||
before = ujson.dumps(hybrid_state)
|
||||
apply_events(hybrid_state, events, self.user_profile,
|
||||
|
||||
Reference in New Issue
Block a user