feluelle edited a comment on pull request #10273: URL: https://github.com/apache/airflow/pull/10273#issuecomment-717785881
For testing the task handler you can check out [test_es_task_handler.py](https://github.com/apache/airflow/blob/master/tests/providers/elasticsearch/log/test_es_task_handler.py) for example. It contains unittest by simply mocking elasticsearch. You would habe to mock azlaws. You can do this by simply using `unittest.mock`. ---------------------------------------------------------------- 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]
