#
# pyforge - TurboGears 2 testing environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
# Uncomment and replace with the address which should receive any error reports
# email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[app:main]
use = config:development.ini#plugin_test
db_prefix = test_
# Use test MongoDB DB server
ming.main.master = mongo://127.0.0.1:27018/pyforge
# Use test SOLR core
solr.server = http://localhost:8983/solr/core1
# Use mock AMQP
amqp.mock = true
load_test_data = true
cache_test_data = false
static_root = /static/
[app:main_without_authn]
use = main
skip_authentication = True
[app:main_with_amqp]
use = main
# Use test RabbitMQ vhost
amqp.mock = false
amqp.hostname = localhost
amqp.port = 5672
amqp.userid = testuser
amqp.password = testpw
amqp.vhost = vhost_testing
# Add additional test specific configuration options as necessary.
[loggers]
keys = root
[handlers]
keys = test
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = test
[handler_test]
class = FileHandler
args = ('test.log',)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S