Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / settings / test.py @ 93f80412

History | View | Annotate | Download (790 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'] = \
17
    os.environ.get('SYNNEFO_TESTS_LOGGING_LEVEL', 'WARNING')
18

    
19
LOGIN_URL = 'http://host:port/'
20

    
21

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

    
24
ASTAKOS_IM_MODULES = ['local', 'shibboleth']
25

    
26
CYCLADES_PROXY_USER_SERVICES = False
27
PITHOS_PROXY_USER_SERVICES = False
28

    
29
ASTAKOS_BASE_URL = 'http://accounts.example.synnefo.org/astakos/'
30
COMPUTE_BASE_URL = 'http://compute.example.synnefo.org/cyclades/'
31
PITHOS_BASE_URL = 'http://storage.example.synnefo.org/pithos/'