test.py 461 Bytes
Newer Older
1
2
3
import os
os.environ['SYNNEFO_SETTINGS_DIR'] = '/etc/synnefo-test-settings'

4
5
from synnefo.settings import *

6
DEBUG = False
7
8
9
10
11
12
13
14
15
TEST = True

DATABASES = {
    'default': {
        'ENGINE': 'sqlite3',
        'NAME': '/tmp/synnefo_test_db.sqlite',
    }
}

Christos Stavrakakis's avatar
Christos Stavrakakis committed
16
LOGGING_SETUP['handlers']['console']['level'] = 'WARNING'
17
LOGIN_URL = 'http://host:port/'
18
19
20
21

SOUTH_TESTS_MIGRATE = bool(os.environ.get('SOUTH_TESTS_MIGRATE', True))

ASTAKOS_IM_MODULES = ['local', 'shibboleth']