[#5123] Attraper les time-out lors de l'envoi de courriels
[auf_django_mailing.git] / tests / settings.py
CommitLineData
dfc0f84e 1# -*- encoding: utf-8 -*-
2
3
4
5DATABASES = {
6 'default': {
7 'ENGINE': 'django.db.backends.sqlite3',
8 'NAME': 'tests.sqlite'
9 }
10}
11
3a32f41f 12#DATABASES = {
13# 'default': {
14# 'ENGINE': 'django.db.backends.mysql',
15# 'NAME': 'tests_mailing',
16# 'USER': 'ag',
17# 'PASSWORD': '2S6m9ziup2Xy',
18# 'HOST' : 'new-dev.auf',
19# 'HOST' : '/var/run/mysqld/mysqld-ram.sock',
20# 'USER': 'root',
21# 'HOST' : '127.0.0.1',
22# 'PORT' : '65432'
23# }
24#}
25
dfc0f84e 26INSTALLED_APPS = (
27 'django.contrib.sites',
28 'django.contrib.contenttypes',
29 'auf.django.mailing',
30 'tests'
31 )
32
33EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
34
35MAILING_MODELE_PARAMS_ENVELOPPE = 'tests.TestEnveloppeParams'
36MAILING_TEMPORISATION = 0
37
38SECRET_KEY = 'not-secret'
39
40ROOT_URLCONF = 'tests.urls'