dstandish commented on code in PR #27116:
URL: https://github.com/apache/airflow/pull/27116#discussion_r999998169


##########
tests/providers/cncf/kubernetes/operators/test_kubernetes_pod.py:
##########
@@ -74,19 +80,17 @@ def create_context(task, persist_to_db=False):
 class TestKubernetesPodOperator:
     @pytest.fixture(autouse=True)
     def setup(self, dag_maker):
-        self.create_pod_patch = mock.patch(f"{POD_MANAGER_CLASS}.create_pod")
-        self.await_pod_patch = 
mock.patch(f"{POD_MANAGER_CLASS}.await_pod_start")
-        self.await_pod_completion_patch = 
mock.patch(f"{POD_MANAGER_CLASS}.await_pod_completion")
-        self.hook_patch = mock.patch(HOOK_CLASS)

Review Comment:
   here we remove the global hook patch because we rely on it for namespace test



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