Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_retention: Delete redundant get_user_profile_by_email call.
Mateusz Manderafaf314c8d3c8
diff --git a/zerver/tests/test_retention.py b/zerver/tests/test_retention.pyindex 51d8ee3316b..40350b75270 100644--- a/zerver/tests/test_retention.py+++ b/zerver/tests/test_retention.py@@ -34,7 +34,6 @@ from zerver.models import (get_realm,get_stream,get_system_bot,- get_user_profile_by_email,)# Class with helper functions useful for testing archiving of reactions:@@ -134,7 +133,6 @@ class ArchiveMessagesTestingBase(RetentionTestingBase):def _send_cross_realm_personal_message(self) -> int:# Send message from bot to users from different realm.bot_email = "[email protected]"- get_user_profile_by_email(bot_email)zulip_user = self.example_user("hamlet")msg_id = internal_send_private_message(sender=get_system_bot(bot_email),