Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from airflow.cli import cli_parser
from airflow.executors import executor_loader
from airflow.providers.cncf.kubernetes.cli import kubernetes_command
from airflow.providers.cncf.kubernetes.version_compat import AIRFLOW_V_3_0_PLUS

from tests_common.test_utils.config import conf_vars

Expand All @@ -47,6 +48,16 @@ def test_generate_dag_yaml(self, tmp_path):
kubernetes_command.generate_pod_yaml(
self.parser.parse_args(
[
"kubernetes",
"generate-dag-yaml",
"miscellaneous_test_dag",
"--logical-date",
"2020-11-03",
"--output-path",
os.fspath(path.parent),
]
if AIRFLOW_V_3_0_PLUS
else [
"kubernetes",
"generate-dag-yaml",
"miscellaneous_test_dag",
Expand Down