potiuk commented on code in PR #53076:
URL: https://github.com/apache/airflow/pull/53076#discussion_r2195155572


##########
task-sdk/tests/task_sdk/execution_time/test_task_runner.py:
##########
@@ -1795,7 +1795,9 @@ def execute(self, context):
         spy_agency.assert_spy_called(_push_xcom_if_needed)
 
         if should_push_xcom:
-            spy_agency.assert_spy_called_with(_xcom_push, runtime_ti, 
"return_value", expected_xcom_value)
+            spy_agency.assert_spy_called_with(
+                _xcom_push, runtime_ti, BaseXCom.XCOM_RETURN_KEY, 
expected_xcom_value

Review Comment:
   But cince it is used a few times, I think better to keep constant.



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