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.

test_upload: Remove GIF file extension test.

Tim Abbotte152f255f537
diff --git a/zerver/tests/test_upload.py b/zerver/tests/test_upload.py
index 2528a96b30f..a106f7fe294 100644
--- a/zerver/tests/test_upload.py
+++ b/zerver/tests/test_upload.py
@@ -1773,13 +1773,6 @@ class LocalStorageTest(UploadSerializeMixin, ZulipTestCase):
upload_emoji_image(image_file, file_name, user_profile)
url = zerver.lib.upload.upload_backend.get_emoji_url(file_name, user_profile.realm_id)
- # Verify the assert statement for trying to fetch the still
- # version of a non-GIF image, since we only support animated GIFs.
- with self.assertRaises(AssertionError):
- still_url = zerver.lib.upload.upload_backend.get_emoji_url(
- file_name, user_profile.realm_id, still=True
- )
-
emoji_path = RealmEmoji.PATH_ID_TEMPLATE.format(
realm_id=user_profile.realm_id,
emoji_file_name=file_name,