mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
9d502f5ee2
Pylint's `bad-classmethod-argument` is disabled for each definition to avoid rewriting the method bodies just to rename `self` → `cls`. This can be done gradually, as the setUpTestData methods are modified along the way.
28 lines
822 B
INI
28 lines
822 B
INI
[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"')
|
|
|
|
env =
|
|
LANGUAGE_CODE = en-US
|
|
SECRET_KEY = beepbeep
|
|
DEBUG = false
|
|
USE_HTTPS = true
|
|
DOMAIN = your.domain.here
|
|
BOOKWYRM_DATABASE_BACKEND = postgres
|
|
MEDIA_ROOT = images/
|
|
CELERY_BROKER = ""
|
|
REDIS_BROKER_PORT = 6379
|
|
REDIS_BROKER_PASSWORD = beep
|
|
REDIS_ACTIVITY_PORT = 6379
|
|
REDIS_ACTIVITY_PASSWORD = beep
|
|
USE_DUMMY_CACHE = true
|
|
FLOWER_PORT = 8888
|
|
EMAIL_HOST = "smtp.mailgun.org"
|
|
EMAIL_PORT = 587
|
|
EMAIL_HOST_USER = ""
|
|
EMAIL_HOST_PASSWORD = ""
|
|
EMAIL_USE_TLS = true
|
|
ENABLE_PREVIEW_IMAGES = false
|