|
a/pyforge/test.ini |
|
b/pyforge/test.ini |
|
... |
|
... |
16 |
port = 5000
|
16 |
port = 5000
|
17 |
|
17 |
|
18 |
[app:main]
|
18 |
[app:main]
|
19 |
use = config:development.ini#plugin_test
|
19 |
use = config:development.ini#plugin_test
|
20 |
db_prefix = test_
|
20 |
db_prefix = test_
|
|
|
21 |
|
|
|
22 |
# Use test MongoDB DB server
|
|
|
23 |
ming.main.master = mongo://127.0.0.1:27018/pyforge
|
|
|
24 |
|
|
|
25 |
# Use test SOLR core
|
21 |
solr.server = http://localhost:8983/solr
|
26 |
solr.server = http://localhost:8983/solr/core1
|
|
|
27 |
|
|
|
28 |
# Use mock AMQP
|
|
|
29 |
amqp.mock = true
|
|
|
30 |
|
22 |
load_test_data = true
|
31 |
load_test_data = true
|
23 |
cache_test_data = true
|
32 |
cache_test_data = true
|
24 |
static_root = /static/
|
33 |
static_root = /static/
|
25 |
|
34 |
|
26 |
[app:main_without_authn]
|
35 |
[app:main_without_authn]
|
27 |
use = main
|
36 |
use = main
|
28 |
skip_authentication = True
|
37 |
skip_authentication = True
|
29 |
|
38 |
|
|
|
39 |
[app:main_with_amqp]
|
|
|
40 |
use = main
|
|
|
41 |
# Use test RabbitMQ vhost
|
|
|
42 |
amqp.mock = false
|
|
|
43 |
amqp.hostname = localhost
|
|
|
44 |
amqp.port = 5672
|
|
|
45 |
amqp.userid = testuser
|
|
|
46 |
amqp.password = testpw
|
|
|
47 |
amqp.vhost = vhost_testing
|
|
|
48 |
|
|
|
49 |
|
30 |
# Add additional test specific configuration options as necessary.
|
50 |
# Add additional test specific configuration options as necessary.
|
|
|
51 |
[loggers]
|
|
|
52 |
keys = root
|
|
|
53 |
|
|
|
54 |
[handlers]
|
|
|
55 |
keys = test
|
|
|
56 |
|
|
|
57 |
[formatters]
|
|
|
58 |
keys = generic
|
|
|
59 |
|
|
|
60 |
[logger_root]
|
|
|
61 |
level = INFO
|
|
|
62 |
handlers = test
|
|
|
63 |
|
|
|
64 |
[handler_test]
|
|
|
65 |
class = FileHandler
|
|
|
66 |
args = ('test.log',)
|
|
|
67 |
level = NOTSET
|
|
|
68 |
formatter = generic
|
|
|
69 |
|
|
|
70 |
[formatter_generic]
|
|
|
71 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
|
|
72 |
datefmt = %H:%M:%S
|
|
|
73 |
|
|
|
74 |
|