test_unread_msgs: Update comment regarding unread message count.

A comment was added in f797604 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:
Prakhar Pratyush 2023-09-25 16:36:53 +05:30 committed by Tim Abbott
parent a11178310c
commit b5232c56ad
1 changed files with 2 additions and 2 deletions

View File

@ -990,8 +990,8 @@ class GetUnreadMsgsTest(ZulipTestCase):
result = get_unread_data()
# 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
# from muted streams, but it doesn't exclude unread messages from muted topics yet.
# report to users in the bankruptcy dialog, and it excludes unread messages
# from muted streams and muted topics.
self.assertEqual(result["count"], 4)
self.assertFalse(result["old_unreads_missing"])