Make the Django tests send emails using the SMTP back end so that it can be interacted with via the test.

This commit is contained in:
Colm O'Connor 2015-09-22 21:51:46 +08:00
parent ba5dd0c575
commit 333854c0e2

View File

@ -9,6 +9,7 @@ environment_variables:
DATABASE_URL: postgres://{{cookiecutter.repo_name}}:password@127.0.0.1:15432/{{cookiecutter.repo_name}}
SECRET_KEY: cj5^uos4tfCdfghjkf5hq$9$(@-79^e9&x$3vyf#igvsfm4d=+
CELERY_BROKER_URL: redis://localhost:16379
DJANGO_EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
window_size:
width: 450
height: 450