Udit107710 commented on pull request #9358:
URL: https://github.com/apache/airflow/pull/9358#issuecomment-647183587


   > 
   > 
   > This would run the tests against an actual Athena instance, which isn't 
what we want in our unit tests.
   > 
   > Please look at https://github.com/spulec/moto (already used in other 
tests, for instance S3) and which supports Athena since 1.3.14 (which are are 
using). moto as of the latest release may not provide _enough_ mocking, so you 
may have to use just normal unittest.mock to ensure that no network requests 
are made in this unit test.
   
   10 days ago, support for various functions in Athena, being used by Airflow 
has been added to moto. I would recommend to bump moto from 1.3.14 to 
1.3.15(latest release). 


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