bdsoha commented on code in PR #26766:
URL: https://github.com/apache/airflow/pull/26766#discussion_r988507537


##########
tests/providers/cncf/kubernetes/operators/test_kubernetes_pod.py:
##########
@@ -837,6 +837,7 @@ def test_push_xcom_pod_info(
         self, mock_await_xcom_sidecar_container_start, mock_extract_xcom, 
do_xcom_push
     ):
         """pod name and namespace are *always* pushed; do_xcom_push only 
controls xcom sidecar"""
+        
self.hook_mock.return_value.get_xcom_sidecar_container_image.return_value = 
"alpine"

Review Comment:
   @dstandish without this, the following error is raised:
   `yaml.representer.RepresenterError: ('cannot represent an object', 
<MagicMock name='KubernetesHook().get_xcom_sidecar_container_image().to_dict()' 
id='139908045486608'>)`



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