2020-11-08 20:14:57 +00:00
|
|
|
[pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE = bookwyrm.settings
|
|
|
|
python_files = tests.py test_*.py *_tests.py
|
2020-11-08 21:07:37 +00:00
|
|
|
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 =
|
2023-11-30 05:56:16 +00:00
|
|
|
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
|
2024-04-07 15:19:48 +00:00
|
|
|
PORT = 4242
|
2024-03-11 11:46:55 +00:00
|
|
|
ALLOWED_HOSTS = your.domain.here
|
2021-08-03 02:30:42 +00:00
|
|
|
BOOKWYRM_DATABASE_BACKEND = postgres
|
|
|
|
MEDIA_ROOT = images/
|
2023-12-01 01:43:35 +00:00
|
|
|
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
|
2024-04-02 12:23:34 +00:00
|
|
|
EMAIL_HOST = smtp.mailgun.org
|
2021-08-03 02:30:42 +00:00
|
|
|
EMAIL_PORT = 587
|
2024-04-02 12:23:34 +00:00
|
|
|
EMAIL_HOST_USER =
|
|
|
|
EMAIL_HOST_PASSWORD =
|
2021-08-03 02:30:42 +00:00
|
|
|
EMAIL_USE_TLS = true
|
|
|
|
ENABLE_PREVIEW_IMAGES = false
|
2024-08-09 20:58:20 +00:00
|
|
|
MAX_QUERY_DURATION = 0.007
|