humit0 commented on a change in pull request #19672:
URL: https://github.com/apache/airflow/pull/19672#discussion_r753896351



##########
File path: tests/api_connexion/endpoints/test_log_endpoint.py
##########
@@ -81,6 +81,18 @@ def setup_attrs(self, configured_app, configure_loggers, 
dag_maker, session) ->
 
         configured_app.dag_bag.bag_dag(dag, root_dag=dag)
 
+        with dag_maker(
+            f'{self.DAG_ID}_copy', 
start_date=timezone.parse(self.default_time), session=session
+        ) as dummy_dag:
+            DummyOperator(task_id=self.TASK_ID)

Review comment:
       Does I need to create new testcase class for checking "Log endpoint API 
raise exception when same task_id with different dag_id."?




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