You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/01 18:44:08 UTC

[GitHub] [airflow] mik-laj edited a comment on pull request #12712: AWS Hook - allow IDP HTTP retry (#12639)

mik-laj edited a comment on pull request #12712:
URL: https://github.com/apache/airflow/pull/12712#issuecomment-735662989


   > I'm not sure how to write tests for this.... suggestions welcome.
   
   You can use mock.mock to check if all methods are properly called.
   See example:  https://github.com/apache/airflow/blob/a697c588c43450a9b69e607b052c17a27bd5ac0e/tests/providers/amazon/aws/hooks/test_base_aws.py#L179-L253


----------------------------------------------------------------
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:
users@infra.apache.org