From 485e23571968f90fcc580fcfee3a78f9e91b6cae Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 6 Sep 2024 14:23:47 +0000 Subject: [PATCH] test_upload: Remove an incorrect comment. S3 uploads are now (after 04cf68b45ebb) handled like local uploads were -- no redirects are used. --- zerver/tests/test_upload.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/zerver/tests/test_upload.py b/zerver/tests/test_upload.py index 7e9bc587f3..828ff6ff3e 100644 --- a/zerver/tests/test_upload.py +++ b/zerver/tests/test_upload.py @@ -188,8 +188,6 @@ class FileUploadTest(UploadSerializeMixin, ZulipTestCase): base = "/user_uploads/" self.assertEqual(base, url[: len(base)]) - # In the future, local file requests will follow the same style as S3 - # requests; they will be first authenticated and redirected self.assertEqual(self.client_get(url).getvalue(), b"zulip!") # Check the download endpoint