uranusjr commented on code in PR #56396:
URL: https://github.com/apache/airflow/pull/56396#discussion_r2404198211


##########
airflow-core/tests/unit/models/test_mappedoperator.py:
##########
@@ -1401,3 +1405,60 @@ def t3(a):
     dr.task_instance_scheduling_decisions()
     ti3 = dr.get_task_instance(task_id="tg1.t3")
     assert not ti3.state
+
+
+def test_properties():
+    op = PythonOperator.partial(
+        task_id="mapped",
+        python_callable=print,
+        email="email",
+        execution_timeout=timedelta(seconds=10),
+        retry_delay=timedelta(seconds=5),
+        max_retry_delay=timedelta(seconds=60),
+        retry_exponential_backoff=True,
+        max_active_tis_per_dag=1,
+        max_active_tis_per_dagrun=2,
+        run_as_user="user",

Review Comment:
   We should probably use `pytest.mark.parametrize` to test more cases on some 
attributes (default vs user-provided)



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