tests: Remove unnecessary print statments.

This removes spam in test-backend output caused by print statement.
This commit is contained in:
Mohit Gupta 2020-07-22 05:34:24 +05:30 committed by Tim Abbott
parent a2a368df54
commit 7d574795f1
2 changed files with 0 additions and 2 deletions

View File

@ -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:

View File

@ -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))