vatsrahul1001 commented on code in PR #54263:
URL: https://github.com/apache/airflow/pull/54263#discussion_r2268644246
##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dags.py:
##########
@@ -839,3 +938,85 @@ def test_delete_dag_should_response_401(self,
unauthenticated_test_client):
def test_delete_dag_should_response_403(self, unauthorized_test_client):
response = unauthorized_test_client.delete(f"{API_PREFIX}/{DAG1_ID}")
assert response.status_code == 403
+
+
+class TestDagAssetFilters(TestDagEndpoint):
+ """Unit tests for DAG asset-based filters."""
+
+ @pytest.fixture(autouse=True)
+ @provide_session
+ def setup_with_assets(self, dag_maker, session=None) -> None:
+ """Set up test data including asset-based DAGs."""
+ # Clear and set up base data first
+ self._clear_db()
+
+ with dag_maker(
+ DAG1_ID,
+ dag_display_name=DAG1_DISPLAY_NAME,
Review Comment:
Resolved
--
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]