From 6358a299b9901c5c4a9c436f516b49ecbf0f1740 Mon Sep 17 00:00:00 2001 From: Alex Ebenrode Date: Wed, 2 Oct 2024 13:57:09 +0500 Subject: [PATCH] set en locale for order refunder tests --- .../orders/tests/orders/services/tests_order_refunder.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/orders/tests/orders/services/tests_order_refunder.py b/src/apps/orders/tests/orders/services/tests_order_refunder.py index 9669f5da0e0..c599777546d 100644 --- a/src/apps/orders/tests/orders/services/tests_order_refunder.py +++ b/src/apps/orders/tests/orders/services/tests_order_refunder.py @@ -20,6 +20,11 @@ ] +@pytest.fixture(autouse=True) +def _set_locale(settings): + settings.LANGUAGE_CODE = "en" + + @pytest.fixture(autouse=True) def _adjust_settings(settings): settings.BANKS_REFUNDS_ENABLED = True