vincbeck commented on code in PR #77795:
URL: https://github.com/apache/airflow/pull/77795#discussion_r4743507707


##########
airflow-core/tests/unit/api_fastapi/core_api/test_security.py:
##########
@@ -490,6 +490,34 @@ async def 
test_requires_access_backfill_authorized_from_body(
             user=user,
         )
 
+    @pytest.mark.db_test
+    @pytest.mark.asyncio
+    @patch.object(DagModel, "get_team_name")
+    @patch("airflow.api_fastapi.core_api.security.get_auth_manager")
+    async def test_requires_access_backfill_list_ignores_the_body_dag_id(

Review Comment:
   nit: this test and `test_requires_access_backfill_authorized_from_body` only 
differ by the method, the query string and the expected Dag. Could you merge 
them into one parametrized test?



-- 
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]

Reply via email to