ephraimbuddy commented on code in PR #45779:
URL: https://github.com/apache/airflow/pull/45779#discussion_r1966571244
##########
tests_common/pytest_plugin.py:
##########
@@ -1423,6 +1423,24 @@ def _get(dag_id: str):
dagbag = DagBag(dag_folder=dag_file, include_examples=False)
dag = dagbag.get_dag(dag_id)
+
+ if dagbag.import_errors:
Review Comment:
It means the test will still keep a recorded import error in the database.
There's a `clear_import_error` in test_common.utils.db. We can use it in the
test's setup & teardown.
--
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]