ashb commented on code in PR #44972:
URL: https://github.com/apache/airflow/pull/44972#discussion_r1888374331
##########
tests/dag_processing/test_collection.py:
##########
@@ -331,6 +348,11 @@ def test_new_import_error_replaces_old(self, session):
assert import_error.id == prev_error_id
assert import_error.stacktrace == "New error"
+ # Ensure the listener was notified
+ assert len(dag_import_error_listener.new) == 0
+ assert len(dag_import_error_listener.existing) == 1
+ assert dag_import_error_listener.existing["abc.py"] ==
prev_error.stacktrace
Review Comment:
This let me delete test_dag_import_error_listener.py
--
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]