mirror of https://github.com/zulip/zulip.git
tests: Remove unnecessary print statments.
This removes spam in test-backend output caused by print statement.
This commit is contained in:
parent
a2a368df54
commit
7d574795f1
|
@ -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:
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue