GitHub user potiuk added a comment to the discussion: Clarification on preferred assertion style in Airflow tests
We usually discuss such "general" dev questions at devlist - feel free to start thread there. The main reason is that people might "miss it" between regular things that refer to particular features and issues - and devlist is where topics important for "everyone contributing" are raised. So if it gets to general question on that - you should move the discussion there. But before you do it - what OTHER way you want to assert if a method has been called in more `pytest` way, I wonder? Or alternatively what other way you want to do regular "assert" to be more consistend with "assert_called" ? I think that will be first question that will be asked if you directly post the question to devlist - so maybe you can explain how you'd imagin "consistent" use in this case? How would you rewrite one of the examples you mentioned to be more consistent ? GitHub link: https://github.com/apache/airflow/discussions/52818#discussioncomment-13655232 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
