michaelmicheal commented on code in PR #22092:
URL: https://github.com/apache/airflow/pull/22092#discussion_r842133286


##########
tests/providers/cncf/kubernetes/operators/test_kubernetes_pod.py:
##########
@@ -211,7 +211,7 @@ def test_find_pod_labels(self):
             do_xcom_push=False,
         )
         self.run_pod(k)
-        self.client_mock.return_value.list_namespaced_pod.assert_called_once()
+        self.client_mock.return_value.list_namespaced_pod.assert_called()

Review Comment:
   Should we assert that it's called twice?
   ```suggestion
           assert self.client_mock.return_value.list_namespaced_pod.call_count 
== 2
   ```



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