suii2210 commented on code in PR #58969:
URL: https://github.com/apache/airflow/pull/58969#discussion_r2603198151


##########
airflow-core/docs/best-practices.rst:
##########
@@ -650,6 +650,127 @@ want to optimize your Dags there are the following 
actions you can take:
 Testing a Dag
 ^^^^^^^^^^^^^
 
+
+Testing Operators with pytest
+-----------------------------
+
+The ``dag.test()`` example shown in older documentation works only when 
executed

Review Comment:
   Sure, I will replace the custom DummySuccessOperator example with the 
built-in EmptyOperator as suggested.



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