From d824988bc4bacb48a24ae3ec99512ca04d345ed3 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 24 Jul 2024 13:49:36 +0000 Subject: [PATCH] tests: Remove THUMBNAIL_IMAGES overrides, since the setting was dropped. These were omitted from b42863be4b2ccf7ca697e2bdea4fc5fdf2b5c26d. --- zerver/tests/test_markdown.py | 4 ---- 1 file changed, 4 deletions(-) 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)