Skip to content

Commit 847374e

Browse files
committed
Proper test.ini
1 parent 619fdfd commit 847374e

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

test.ini

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,52 @@
1+
[DEFAULT]
2+
debug = false
3+
smtp_server = localhost
4+
error_email_from = paste@localhost
5+
6+
[server:main]
7+
use = egg:Paste#http
8+
host = 0.0.0.0
9+
port = 5000
10+
111
[app:main]
212
use = config:../ckan/test-core.ini
313

14+
# Insert any custom config settings to be used when running your extension's
15+
# tests here.
416
ckan.plugins = pages image_view
517

618
ckanext.pages.organization = True
719
ckanext.pages.group = True
820

21+
# Logging configuration
22+
[loggers]
23+
keys = root, ckan, sqlalchemy
24+
25+
[handlers]
26+
keys = console
27+
28+
[formatters]
29+
keys = generic
30+
31+
[logger_root]
32+
level = WARN
33+
handlers = console
34+
35+
[logger_ckan]
36+
qualname = ckan
37+
handlers =
38+
level = INFO
39+
40+
[logger_sqlalchemy]
41+
handlers =
42+
qualname = sqlalchemy.engine
43+
level = WARN
44+
45+
[handler_console]
46+
class = StreamHandler
47+
args = (sys.stdout,)
48+
level = NOTSET
49+
formatter = generic
50+
51+
[formatter_generic]
52+
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s

0 commit comments

Comments
 (0)