Skip to content

Commit

Permalink
Use airflow.models.dag.DAG in k8s tests (apache#34616)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Sep 26, 2023
1 parent 4df5b57 commit 11cba87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kubernetes_tests/test_kubernetes_pod_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
from kubernetes.client.rest import ApiException

from airflow.exceptions import AirflowException, AirflowSkipException
from airflow.models import DAG, Connection, DagRun, TaskInstance
from airflow.models.connection import Connection
from airflow.models.dag import DAG
from airflow.models.dagrun import DagRun
from airflow.models.taskinstance import TaskInstance
from airflow.providers.cncf.kubernetes.hooks.kubernetes import KubernetesHook
from airflow.providers.cncf.kubernetes.operators.pod import KubernetesPodOperator
from airflow.providers.cncf.kubernetes.utils.pod_manager import OnFinishAction, PodManager
Expand Down

0 comments on commit 11cba87

Please sign in to comment.