Parent: [4a2628] (diff)

Child: [72a517] (diff)

Download this file

test.ini    112 lines (88 with data), 2.6 kB

  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
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
#
# allura - 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#tool_test
db_prefix = test_
base_url = http://localhost/
# Use test MongoDB DB server
# ming.main.master = mongo://127.0.0.1:27018/allura
ming.main.master = mim://
ming.main.database = allura
ming.project.master = mim://
ming.project.database = project-data
# Use test SOLR core
solr.mock = true
# Use mock AMQP
amqp.mock = true
# Forgemail server
forgemail.host = 0.0.0.0
forgemail.port = 8825
forgemail.domain = .in.sf.net
forgemail.url = http://localhost:8080
load_test_data = true
cache_test_data = false
# Set the locations of some static resources
# script_name is the path that is handled by the application
# url_base is the prefix that references to the static resources should have
ew.script_name = /nf/_ew_/
ew.url_base = /nf/_ew_/
static.script_name = /nf/_static_/
static.url_base = /nf/_static_/
scm.host.ro.git = git://git.localhost$path
scm.host.rw.git = ssh://$username@localhost:8022/scm-repo$path
scm.host.https.git = https://$username@localhost:8022/scm-repo$path
scm.host.ro.hg = http://hg.localhost$path
scm.host.rw.hg = ssh://$username@localhost:8022/scm-repo$path
scm.host.https.hg = https://$username@localhost:8022/scm-repo$path
scm.host.ro.svn = http://svn.localhost$path
scm.host.rw.svn = svn+ssh://$username@localhost:8022/scm-repo$path
scm.host.https.svn = https://$username@localhost:8022/scm-repo$path
scm.repos.root = /tmp
stats.sample_rate=0
disable_csrf_protection=1
[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
[validation]
validate_html5 = false
validate_js = true