potiuk commented on PR #59194: URL: https://github.com/apache/airflow/pull/59194#issuecomment-3659742897
> For example airflow-core/tests/unit/models/test_dag.py::TestTaskClearingSetupTeardownBehavior::test_get_flat_relative_ids_with_setup I think **those** tests should remain as they are - they are testing effectively integration of the methods with actual instances of Dag/Task for example. I think however we could have mocked versions of the classes that would not be created by Dag/ / make_tests instantitaiton but simply using MagicMock objects with spec ? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
