From cba82c35ebc1bed0f294afcab7ddfcefbd162df3 Mon Sep 17 00:00:00 2001 From: Dev-iL <6509619+Dev-iL@users.noreply.github.com> Date: Sat, 14 Mar 2026 11:57:46 +0200 Subject: [PATCH] Breeze: Fix cache test for supported Python versions --- dev/breeze/tests/test_cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/breeze/tests/test_cache.py b/dev/breeze/tests/test_cache.py index 30f993e0f5925..e8b9a3f4f915a 100644 --- a/dev/breeze/tests/test_cache.py +++ b/dev/breeze/tests/test_cache.py @@ -21,6 +21,7 @@ import pytest +from airflow_breeze.global_constants import ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS from airflow_breeze.utils.cache import ( check_if_cache_exists, check_if_values_allowed, @@ -36,7 +37,7 @@ [ ("backend", "mysql", (True, ["sqlite", "mysql", "postgres", "none", "custom"]), None), ("backend", "xxx", (False, ["sqlite", "mysql", "postgres", "none", "custom"]), None), - ("python_major_minor_version", "3.10", (True, ["3.10", "3.11", "3.12", "3.13"]), None), + ("python_major_minor_version", "3.10", (True, ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS), None), ("missing", "value", None, AttributeError), ], )