ferruzzi commented on code in PR #66350:
URL: https://github.com/apache/airflow/pull/66350#discussion_r4051959776
##########
airflow-core/tests/unit/utils/test_db_cleanup.py:
##########
@@ -452,6 +463,27 @@ def test_cleanup_with_dag_id_filtering(self, dag_ids,
exclude_dag_ids, expected_
f"Expected {expected_remaining_dag_ids} to remain, but got
{remaining_dag_ids}"
)
+ @pytest.mark.parametrize(
+ ("dag_ids", "exclude_dag_ids"),
+ [
+ pytest.param(["dag1"], None, id="include"),
+ pytest.param(None, ["dag1"], id="exclude"),
+ ],
+ )
+ def test_cleanup_dag_filtering_on_tables_without_their_own_dag_id(self,
dag_ids, exclude_dag_ids):
Review Comment:
Makes sense.
--
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]