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), ], )