amoghrajesh commented on code in PR #77162:
URL: https://github.com/apache/airflow/pull/77162#discussion_r4595826914


##########
providers/microsoft/azure/tests/unit/microsoft/azure/operators/test_data_factory.py:
##########
@@ -496,3 +501,140 @@ def 
test_azure_data_factory_run_pipeline_operator_async_execute_complete_fail(se
                 context={},
                 event={"status": "error", "message": "error", "run_id": 
AZ_PIPELINE_RUN_ID},
             )
+
+
[email protected](not AIRFLOW_V_3_3_PLUS, reason="The task state store 
arrived in Airflow 3.3")
+class TestAzureDataFactoryRunPipelineOperatorDurable:
+    CONFIG = {
+        "task_id": TASK_ID,
+        "azure_data_factory_conn_id": AZURE_DATA_FACTORY_CONN_ID,
+        "pipeline_name": PIPELINE_NAME,
+        "resource_group_name": "resource-group-name",
+        "factory_name": "factory-name",
+        "check_interval": 1,
+        "timeout": 3,
+    }
+
+    @pytest.fixture(autouse=True)
+    def setup_mocks(self):
+        with (
+            patch.object(
+                AzureDataFactoryHook,
+                "run_pipeline",
+                autospec=True,
+                return_value=MagicMock(run_id=NEW_RUN_ID),

Review Comment:
   Added



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