mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Upgrade to Django 4.2 (#3497)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
import inspect
|
||||
|
||||
import pytest
|
||||
from django.utils import translation
|
||||
from django_scopes import scopes_disabled
|
||||
from xdist.dsession import DSession
|
||||
|
||||
@@ -68,3 +69,8 @@ def pytest_fixture_setup(fixturedef, request):
|
||||
else:
|
||||
with scopes_disabled():
|
||||
yield
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def reset_locale():
|
||||
translation.activate("en")
|
||||
|
||||
Reference in New Issue
Block a user