-
Notifications
You must be signed in to change notification settings - Fork 39
/
test.ini
51 lines (41 loc) · 1.23 KB
/
test.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[app:main]
# use a full path to ensure the config is picked up wherever the tests are run from (this covers off
# both the default setup, where the tests are run from /base/src/ckanext-ldap/, and running
# them from an IDE like PyCharm which will copy the code into /opt/project/ and run it from there
use = config:/base/src/ckan/test-core.ini
# the hosts referenced here resolve to the other docker containers configured in docker-compose.yml
sqlalchemy.url = postgresql://ckan:password@db/ckan
ckan.datastore.write_url = postgresql://ckan:password@db/datastore
ckan.datastore.read_url = postgresql://datastore_ro:password@db/datastore
ckan.redis.url = redis://redis:6379/1
solr_url = http://solr:8983/solr/ckan
[loggers]
keys = root, ckan, ckanext
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARNING
handlers = console
[logger_ckan]
level = INFO
handlers = console
qualname = ckan
propagate = 0
[logger_ckanext]
level = DEBUG
handlers = console
qualname = ckanext
propagate = 0
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s