Skip to content

Commit

Permalink
Use in-memory backends for Celery in tests and workflows
Browse files Browse the repository at this point in the history
At the moment, this doesn't have much of an effect since most task
calls are mock'd out.
  • Loading branch information
dato committed Jul 28, 2024
1 parent f4133e0 commit 3d28019
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ env =
ALLOWED_HOSTS = 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
CELERY_BROKER_URL = memory://
CELERY_RESULT_BACKEND = cache+memory://
USE_DUMMY_CACHE = true
FLOWER_PORT = 8888
EMAIL_HOST = smtp.mailgun.org
Expand Down

0 comments on commit 3d28019

Please sign in to comment.