Subham-KRLX commented on code in PR #74269:
URL: https://github.com/apache/airflow/pull/74269#discussion_r4197665570


##########
airflow-core/tests/unit/utils/test_file.py:
##########
@@ -72,6 +72,19 @@ def test_correct_maybe_zipped_archive(self, 
mocked_is_zipfile):
 
         assert dag_folder == "/path/to/archive.zip"
 
+    @mock.patch("zipfile.is_zipfile")
+    def test_correct_maybe_zipped_archive_uppercase_extension(self, 
mocked_is_zipfile):

Review Comment:
   Good point Parameterized the test across both `.zip` and `.ZIP` cases.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to