Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (912 Bytes)

1 3b1ab480 Kostas Papadimitriou
import os
2 3b1ab480 Kostas Papadimitriou
os.environ['SYNNEFO_SETTINGS_DIR'] = '/etc/synnefo-test-settings'
3 3b1ab480 Kostas Papadimitriou
4 f0ed93a9 Kostas Papadimitriou
from synnefo.settings import *
5 f0ed93a9 Kostas Papadimitriou
6 3b1ab480 Kostas Papadimitriou
DEBUG = False
7 f0ed93a9 Kostas Papadimitriou
TEST = True
8 f0ed93a9 Kostas Papadimitriou
9 1ce2918c Georgios D. Tsoukalas
DATABASES = {
10 1ce2918c Georgios D. Tsoukalas
    'default': {
11 1ce2918c Georgios D. Tsoukalas
        'ENGINE': 'sqlite3',
12 1ce2918c Georgios D. Tsoukalas
        'NAME': '/tmp/synnefo_test_db.sqlite',
13 f0ed93a9 Kostas Papadimitriou
    }
14 1ce2918c Georgios D. Tsoukalas
}
15 f0ed93a9 Kostas Papadimitriou
16 e7cb4085 Kostas Papadimitriou
LOGGING_SETUP['handlers']['console']['level'] = \
17 e7cb4085 Kostas Papadimitriou
    os.environ.get('SYNNEFO_TESTS_LOGGING_LEVEL', 'WARNING')
18 e7cb4085 Kostas Papadimitriou
19 7fb619a0 Kostas Papadimitriou
LOGIN_URL = 'http://host:port/'
20 3b1ab480 Kostas Papadimitriou
21 e7cb4085 Kostas Papadimitriou
22 b2f34c77 Kostas Papadimitriou
SOUTH_TESTS_MIGRATE = bool(int(os.environ.get('SOUTH_TESTS_MIGRATE', True)))
23 3b1ab480 Kostas Papadimitriou
24 3b1ab480 Kostas Papadimitriou
ASTAKOS_IM_MODULES = ['local', 'shibboleth']
25 93a77d30 Giorgos Korfiatis
26 93a77d30 Giorgos Korfiatis
CYCLADES_PROXY_USER_SERVICES = False
27 93a77d30 Giorgos Korfiatis
PITHOS_PROXY_USER_SERVICES = False
28 93f80412 Kostas Papadimitriou
29 93f80412 Kostas Papadimitriou
ASTAKOS_BASE_URL = 'http://accounts.example.synnefo.org/astakos/'
30 93f80412 Kostas Papadimitriou
COMPUTE_BASE_URL = 'http://compute.example.synnefo.org/cyclades/'
31 93f80412 Kostas Papadimitriou
PITHOS_BASE_URL = 'http://storage.example.synnefo.org/pithos/'
32 6ebf6da3 Sofia Papagiannaki
33 6ebf6da3 Sofia Papagiannaki
CLOUDBAR_LOCATION = '/static/im/cloudbar/'
34 6ebf6da3 Sofia Papagiannaki
CLOUDBAR_SERVICES_URL = '/ui/get_services'
35 6ebf6da3 Sofia Papagiannaki
CLOUDBAR_MENU_URL = '/ui/get_menu'