|
a/ForgeForum/test.ini |
|
b/ForgeForum/test.ini |
|
... |
|
... |
6 |
[DEFAULT]
|
6 |
[DEFAULT]
|
7 |
debug = true
|
7 |
debug = true
|
8 |
# Uncomment and replace with the address which should receive any error reports
|
8 |
# Uncomment and replace with the address which should receive any error reports
|
9 |
# email_to = you@yourdomain.com
|
9 |
# email_to = you@yourdomain.com
|
10 |
smtp_server = localhost
|
10 |
smtp_server = localhost
|
|
|
11 |
smtp_port = 8826
|
11 |
error_email_from = paste@localhost
|
12 |
error_email_from = paste@localhost
|
12 |
|
13 |
|
13 |
[server:main]
|
14 |
[server:main]
|
14 |
use = egg:Paste#http
|
15 |
use = egg:Paste#http
|
15 |
host = 0.0.0.0
|
16 |
host = 0.0.0.0
|
16 |
port = 5000
|
17 |
port = 5000
|
17 |
|
18 |
|
18 |
[app:main]
|
19 |
[app:main]
|
19 |
use = config:../pyforge/development.ini#plugin_test
|
20 |
use = config:../pyforge/test.ini
|
20 |
db_prefix = test_
|
|
|
21 |
solr.server = http://localhost:8983/solr
|
|
|
22 |
load_test_data = true
|
|
|
23 |
cache_test_data = true
|
|
|
24 |
static_root = /static/
|
|
|
25 |
|
21 |
|
26 |
[app:main_without_authn]
|
22 |
[app:main_without_authn]
|
27 |
use = main
|
23 |
use = config:../pyforge/test.ini#main_without_authn
|
28 |
skip_authentication = True
|
|
|
29 |
|
24 |
|
30 |
# Add additional test specific configuration options as necessary.
|
25 |
[app:main_with_amqp]
|
|
|
26 |
use = config:../pyforge/test.ini#main_with_amqp
|
|
|
27 |
|
|
|
28 |
[loggers]
|
|
|
29 |
keys = root
|
|
|
30 |
|
|
|
31 |
[handlers]
|
|
|
32 |
keys = test
|
|
|
33 |
|
|
|
34 |
[formatters]
|
|
|
35 |
keys = generic
|
|
|
36 |
|
|
|
37 |
[logger_root]
|
|
|
38 |
level = INFO
|
|
|
39 |
handlers = test
|
|
|
40 |
|
|
|
41 |
[handler_test]
|
|
|
42 |
class = FileHandler
|
|
|
43 |
args = ('test.log',)
|
|
|
44 |
level = NOTSET
|
|
|
45 |
formatter = generic
|
|
|
46 |
|
|
|
47 |
[formatter_generic]
|
|
|
48 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
|
|
49 |
datefmt = %H:%M:%S
|