[#5123] Attraper les time-out lors de l'envoi de courriels
[auf_django_mailing.git] / tests / settings.py
1 # -*- encoding: utf-8 -*-
2
3
4
5 DATABASES = {
6 'default': {
7 'ENGINE': 'django.db.backends.sqlite3',
8 'NAME': 'tests.sqlite'
9 }
10 }
11
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
26 INSTALLED_APPS = (
27 'django.contrib.sites',
28 'django.contrib.contenttypes',
29 'auf.django.mailing',
30 'tests'
31 )
32
33 EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
34
35 MAILING_MODELE_PARAMS_ENVELOPPE = 'tests.TestEnveloppeParams'
36 MAILING_TEMPORISATION = 0
37
38 SECRET_KEY = 'not-secret'
39
40 ROOT_URLCONF = 'tests.urls'