diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py b/dev/breeze/src/airflow_breeze/utils/selective_checks.py index 5b92a89309a48..bca72d3e28fd8 100644 --- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py +++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py @@ -92,7 +92,7 @@ ) # Set to True to enter a translation freeze period. Set to False to exit a translation freeze period. -FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = True +FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = False class FileGroupForCi(Enum): diff --git a/dev/breeze/tests/test_selective_checks.py b/dev/breeze/tests/test_selective_checks.py index 154ad377ab161..5c00a026921b3 100644 --- a/dev/breeze/tests/test_selective_checks.py +++ b/dev/breeze/tests/test_selective_checks.py @@ -19,6 +19,7 @@ import json import re from typing import Any +from unittest.mock import patch import pytest from rich.console import Console @@ -2440,6 +2441,7 @@ def test_mypy_matches( assert_outputs_are_printed(expected_outputs, str(stderr)) +@patch("airflow_breeze.utils.selective_checks.FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED", True) def test_ui_english_translation_changed_fail_on_change(): translation_file = "airflow-core/src/airflow/ui/public/i18n/locales/en/some_file.json" with pytest.raises(SystemExit):