Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Remove unnecessary print statments.

Mohit Gupta7d574795f14e
diff --git a/zerver/tests/test_markdown.py b/zerver/tests/test_markdown.py
index f6b1a209fea..75f9edcfafc 100644
--- a/zerver/tests/test_markdown.py
+++ b/zerver/tests/test_markdown.py
@@ -421,7 +421,6 @@ class MarkdownTest(ZulipTestCase):
href = 'http://' + url
return payload % (f"<a href=\"{href}\">{url}</a>",)
- print("Running Markdown Linkify tests")
with mock.patch('zerver.lib.url_preview.preview.link_embed_data_from_cache', return_value=None):
for inline_url, reference, url in linkify_tests:
try:
diff --git a/zerver/tests/test_realm.py b/zerver/tests/test_realm.py
index 0b11214da2d..8d068763924 100644
--- a/zerver/tests/test_realm.py
+++ b/zerver/tests/test_realm.py
@@ -492,7 +492,6 @@ class RealmTest(ZulipTestCase):
req = dict(private_message_policy = ujson.dumps(Realm.PRIVATE_MESSAGE_POLICY_DISABLED))
result = self.client_patch('/json/realm', req)
self.assert_json_success(result)
- print(result)
invalid_value = 10
req = dict(private_message_policy = ujson.dumps(invalid_value))