Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_soft_deactivation: Add docstring explaining send_fake_message.
Mateusz Manderaa4008d938a5c
diff --git a/zerver/tests/test_soft_deactivation.py b/zerver/tests/test_soft_deactivation.pyindex 29def606c72..422c8c30658 100644--- a/zerver/tests/test_soft_deactivation.py+++ b/zerver/tests/test_soft_deactivation.py@@ -367,6 +367,10 @@ class SoftDeactivationMessageTest(ZulipTestCase):topic_name = "foo"def send_fake_message(message_content: str, stream: Stream) -> Message:+ """+ The purpose of this helper is to create a Message object without corresponding+ UserMessage rows being created.+ """recipient = stream.recipientmessage = Message(sender=sender,