Tests: ignore locale from pretix.cfg and default to en (#3167)

This commit is contained in:
Richard Schreiber
2023-03-21 08:55:34 +01:00
committed by GitHub
parent e9b22b7d33
commit 3eceb33cfc

View File

@@ -30,6 +30,7 @@ if os.path.exists('test/sqlite.cfg'):
from pretix.settings import * # NOQA
LANGUAGE_CODE = 'en'
DATA_DIR = tmpdir.name
LOG_DIR = os.path.join(DATA_DIR, 'logs')
MEDIA_ROOT = os.path.join(DATA_DIR, 'media')