mirror of https://github.com/zulip/zulip.git
test_unread_msgs: Update comment regarding unread message count.
A comment was added inf797604
to convey that the unread count at that time doesn't exclude the unreads in muted topics.848c080
added the support to exclude the muted topic; however, the comment was not updated. This commit updates the comment to reflect the current behavior.
This commit is contained in:
parent
a11178310c
commit
b5232c56ad
|
@ -990,8 +990,8 @@ class GetUnreadMsgsTest(ZulipTestCase):
|
||||||
result = get_unread_data()
|
result = get_unread_data()
|
||||||
|
|
||||||
# The count here reflects the count of unread messages that we will
|
# The count here reflects the count of unread messages that we will
|
||||||
# report to users in the bankruptcy dialog, and for now it excludes unread messages
|
# report to users in the bankruptcy dialog, and it excludes unread messages
|
||||||
# from muted streams, but it doesn't exclude unread messages from muted topics yet.
|
# from muted streams and muted topics.
|
||||||
self.assertEqual(result["count"], 4)
|
self.assertEqual(result["count"], 4)
|
||||||
self.assertFalse(result["old_unreads_missing"])
|
self.assertFalse(result["old_unreads_missing"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue