Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion dev/breeze/src/airflow_breeze/utils/selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 2 additions & 0 deletions dev/breeze/tests/test_selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import json
import re
from typing import Any
from unittest.mock import patch

import pytest
from rich.console import Console
Expand Down Expand Up @@ -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):
Expand Down
Loading