kolfild26 commented on PR #27370: URL: https://github.com/apache/airflow/pull/27370#issuecomment-1321207001
Also some notes about the test which I added. There were no any tests which uses `conext` inside themselves. I, in turn, needed `context` to pull/push to/from xcom. So, I searched all from [the tests](https://github.com/apache/airflow/tree/main/tests) and found that [test_kubernetes_pod.py](https://github.com/apache/airflow/blob/main/tests/providers/cncf/kubernetes/operators/test_kubernetes_pod.py) has [create_context method](https://github.com/apache/airflow/blob/main/tests/providers/cncf/kubernetes/operators/test_kubernetes_pod.py#L57). It turned out it fully fitts our need. So I copied it to `test_ssh.py` and used in [test_push_ssh_exit_to_xcom](https://github.com/apache/airflow/blob/6627c9b0c31b3ce3024abca004a995b55a63ba80/tests/providers/ssh/operators/test_ssh.py#L238). -- 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]
