bookwyrm/pytest.ini

29 lines
825 B
INI
Raw Permalink Normal View History

2020-11-08 20:14:57 +00:00
[pytest]
DJANGO_SETTINGS_MODULE = bookwyrm.settings
python_files = tests.py test_*.py *_tests.py
addopts = --cov=bookwyrm --cov-config=.coveragerc
markers =
integration: marks tests as requiring external resources (deselect with '-m "not integration"')
2021-08-03 02:30:42 +00:00
env =
LANGUAGE_CODE = en-US
2022-01-09 20:04:45 +00:00
SECRET_KEY = beepbeep
2021-08-03 02:30:42 +00:00
DEBUG = false
2022-01-09 20:04:45 +00:00
USE_HTTPS = true
2021-08-03 02:30:42 +00:00
DOMAIN = your.domain.here
PORT = 4242
ALLOWED_HOSTS = your.domain.here
2021-08-03 02:30:42 +00:00
BOOKWYRM_DATABASE_BACKEND = postgres
MEDIA_ROOT = images/
CELERY_BROKER_URL = memory://
CELERY_RESULT_BACKEND = cache+memory://
2022-01-09 20:04:45 +00:00
USE_DUMMY_CACHE = true
2021-08-03 02:30:42 +00:00
FLOWER_PORT = 8888
EMAIL_HOST = smtp.mailgun.org
2021-08-03 02:30:42 +00:00
EMAIL_PORT = 587
EMAIL_HOST_USER =
EMAIL_HOST_PASSWORD =
2021-08-03 02:30:42 +00:00
EMAIL_USE_TLS = true
ENABLE_PREVIEW_IMAGES = false
MAX_QUERY_DURATION = 0.007