amoghrajesh commented on code in PR #48487:
URL: https://github.com/apache/airflow/pull/48487#discussion_r2018331671
##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_xcom.py:
##########
@@ -201,7 +201,7 @@ def test_custom_xcom_deserialize(
self._create_xcom(TEST_XCOM_KEY, TEST_XCOM_VALUE, backend=XCom)
url =
f"/api/v2/dags/{TEST_DAG_ID}/dagRuns/{run_id}/taskInstances/{TEST_TASK_ID}/xcomEntries/{TEST_XCOM_KEY}"
- with mock.patch("airflow.sdk.execution_time.xcom.XCom", XCom):
+ with mock.patch("airflow.sdk.bases.xcom.XCom", XCom):
Review Comment:
I agree with this. It doesnt seem right because the XCom is resolved at
execution time
--
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]