levahim commented on pull request #13984:
URL: https://github.com/apache/airflow/pull/13984#issuecomment-770388456


   > Speaking of the tests: we are testing the implementation which is fragile.
   > 
   > If possible we should instead test that when reading from it we get 
strings, not bytes (and mock as little as possible - we already have actual zip 
files in the tests for for this purpose)
   
   _That_ I agree with. In this PR I tried to match the way things are done in 
the existing code and fix the specific issue at focus with minimal changes. If 
the elders agree, I'll certainly be happy to change the test implementation. 
@ashb , I'm new to the codebase, can you recommend exact files (a zip and a 
non-zip Python source code-like content) to use that you say already exist in 
the tests?


----------------------------------------------------------------
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.

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


Reply via email to