Merge pull request #5977 from FinnStutzenstein/enablePytestInDocker
Enable pytest in docker
This commit is contained in:
commit
644d3b2fee
@ -34,6 +34,7 @@ disallow_untyped_defs = true
|
||||
|
||||
[tool:pytest]
|
||||
DJANGO_SETTINGS_MODULE = tests.settings
|
||||
addopts = --ds=tests.settings
|
||||
testpaths = tests/
|
||||
filterwarnings =
|
||||
ignore:RemovedInDjango30Warning
|
||||
|
@ -70,9 +70,6 @@ MEDIA_ROOT = os.path.join(OPENSLIDES_USER_DATA_PATH, "")
|
||||
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
|
||||
# Deactivate restricted_data_cache
|
||||
RESTRICTED_DATA_CACHE = False
|
||||
|
||||
REST_FRAMEWORK = {"TEST_REQUEST_DEFAULT_FORMAT": "json"}
|
||||
|
||||
ENABLE_ELECTRONIC_VOTING = True
|
||||
|
Loading…
Reference in New Issue
Block a user