eladkal commented on a change in pull request #17144:
URL: https://github.com/apache/airflow/pull/17144#discussion_r674543339



##########
File path: tests/models/test_baseoperator.py
##########
@@ -563,3 +564,11 @@ def 
test_set_xcomargs_dependencies_error_when_outside_dag(self):
         with pytest.raises(AirflowException):
             op1 = DummyOperator(task_id="op1")
             CustomOp(task_id="op2", field=op1.output)
+
+    def test_replace_dummy_trigger_rule(self):
+        with DAG(dag_id='dummy_replace', default_args={"start_date": 
datetime.today()}):
+            op1 = DummyOperator(task_id="op1", trigger_rule="dummy")
+            op2 = DummyOperator(task_id="op2", trigger_rule=TriggerRule.DUMMY)

Review comment:
       thanks! will add




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