diff --git a/zerver/tests/test_markdown.py b/zerver/tests/test_markdown.py index 3a4f65c375..8af440a985 100644 --- a/zerver/tests/test_markdown.py +++ b/zerver/tests/test_markdown.py @@ -497,7 +497,6 @@ class MarkdownFixtureTest(ZulipTestCase): self.assertTrue(is_unique, message) found_names.add(test_name) - @override_settings(THUMBNAIL_IMAGES=True) def test_markdown_fixtures(self) -> None: format_tests, linkify_tests = self.load_markdown_tests() valid_keys = { @@ -1004,7 +1003,6 @@ class MarkdownEmbedsTest(ZulipTestCase): f"""

https://www.dropbox.com/sc/tditp9nitko60n5/03rEiZldy5

\n
""", ) - @override_settings(THUMBNAIL_IMAGES=True) def test_inline_dropbox_negative(self) -> None: # Make sure we're not overzealous in our conversion: url = "https://www.dropbox.com/static/images/home_logo.png" @@ -1032,7 +1030,6 @@ class MarkdownEmbedsTest(ZulipTestCase): '

https://zulip-test.dropbox.com/photos/cl/ROmr9K1XYtmpneM

', ) - @override_settings(THUMBNAIL_IMAGES=True) def test_inline_github_preview(self) -> None: # Test github URL translation url = "https://github.com/zulip/zulip/blob/main/static/images/logo/zulip-icon-128x128.png" @@ -3142,7 +3139,6 @@ class MarkdownStreamMentionTests(ZulipTestCase): ) self.assertEqual(rendering_result.mentions_user_ids, set()) - @override_settings(THUMBNAIL_IMAGES=True) def test_image_preview_title(self) -> None: msg = "[My favorite image](https://example.com/testimage.png)" converted = markdown_convert_wrapper(msg)