Skip to content

Commit 2304fb4

Browse files
test: improve and expand translation and localization tests
- Add comprehensive translation coverage and error aggregation to test_locale_messages.py - Add LocaleMiddleware to test configuration - Add new tests for token validation and localization
1 parent 4b382a9 commit 2304fb4

File tree

3 files changed

+1367
-0
lines changed

3 files changed

+1367
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ def pytest_configure():
22
from django.conf import settings
33

44
MIDDLEWARE = (
5+
'django.middleware.locale.LocaleMiddleware',
56
"django.middleware.common.CommonMiddleware",
67
"django.contrib.sessions.middleware.SessionMiddleware",
78
"django.contrib.auth.middleware.AuthenticationMiddleware",

0 commit comments

Comments
 (0)