Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / settings / test.py @ b2f34c77

History | View | Annotate | Download (466 Bytes)

1
import os
2
os.environ['SYNNEFO_SETTINGS_DIR'] = '/etc/synnefo-test-settings'
3

    
4
from synnefo.settings import *
5

    
6
DEBUG = False
7
TEST = True
8

    
9
DATABASES = {
10
    'default': {
11
        'ENGINE': 'sqlite3',
12
        'NAME': '/tmp/synnefo_test_db.sqlite',
13
    }
14
}
15

    
16
LOGGING_SETUP['handlers']['console']['level'] = 'WARNING'
17
LOGIN_URL = 'http://host:port/'
18

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

    
21
ASTAKOS_IM_MODULES = ['local', 'shibboleth']