mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
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:
committed by
Tim Abbott
parent
2b42df4ef1
commit
2869de8026
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user