JavierLopezT opened a new pull request #11747:
URL: https://github.com/apache/airflow/pull/11747


   Even though it is NOT RECOMMEND to use FTP because of a lack of security, 
there may be some users that still need it. 
   
   Regarding the operator itself, I have tried to replicate s3_to_sftp using 
`with NamedTemporaryFile` with no success.
   
   Regarding the test, I have tried to somehow modify the s3_to_sftp, but it is 
very different and I am not sure whether it would fit here. I am a little lost 
about how to approach the test. I know that I should mock S3 and FTP conn, but 
then, what is my assertion? In a real-life test, I would assure that there is 
indeed a file in the remote_path with the name I specified, but I have no clue 
how to do this with mocks and assertions. Could you help me, please? Thank you 
very much


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