test_notifications: Remove unnecessary comments.

These comments should not have been included in
a8fd9eb701.

We covered the case "Private message should soft reactivate
the user" earlier in the test. So the comment was rightly added
there.

During stream wildcard or group mention, no such personal mention
is involved; hence, the comments are not needed.
This commit is contained in:
Prakhar Pratyush
2023-07-05 16:37:46 +05:30
committed by Tim Abbott
parent 2b42df4ef1
commit 2869de8026
2 changed files with 0 additions and 4 deletions

View File

@@ -1976,7 +1976,6 @@ class TestMissedMessages(ZulipTestCase):
# Stream Wildcard mention should NOT soft reactivate the user
with self.soft_deactivate_and_check_long_term_idle(hamlet, expected=True):
# Soft reactivate the user by sending a personal message
mention = "@**all**"
stream_mentioned_message_id = self.send_stream_message(othello, "Denmark", mention)
handle_missedmessage_emails(
@@ -1991,7 +1990,6 @@ class TestMissedMessages(ZulipTestCase):
# Group mention should NOT soft reactivate the user
with self.soft_deactivate_and_check_long_term_idle(hamlet, expected=True):
# Soft reactivate the user by sending a personal message
mention = "@*large_user_group*"
stream_mentioned_message_id = self.send_stream_message(othello, "Denmark", mention)
handle_missedmessage_emails(

View File

@@ -1689,7 +1689,6 @@ class HandlePushNotificationTest(PushNotificationTest):
# Stream Wildcard mention should NOT soft reactivate the user
with self.soft_deactivate_and_check_long_term_idle(self.user_profile, expected=True):
# Soft reactivate the user by sending a personal message
mention = "@**all**"
stream_mentioned_message_id = self.send_stream_message(othello, "Denmark", mention)
handle_push_notification(
@@ -1699,7 +1698,6 @@ class HandlePushNotificationTest(PushNotificationTest):
# Group mention should NOT soft reactivate the user
with self.soft_deactivate_and_check_long_term_idle(self.user_profile, expected=True):
# Soft reactivate the user by sending a personal message
mention = "@*large_user_group*"
stream_mentioned_message_id = self.send_stream_message(othello, "Denmark", mention)
handle_push_notification(