root/trunk/test.ini @ 45

Revision 45, 2.5 KB (checked in by jiangx, 4 years ago)

See #9: add unittest; i18n; refactor plugins

  • Property svn:eol-style set to native
Line 
1#
2# pySvnManager - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = true
8# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13[server:main]
14use = egg:Paste#http
15host = 0.0.0.0
16port = 5000
17
18[app:main]
19use = egg:pySvnManager
20full_stack = true
21cache_dir = %(here)s/data
22beaker.session.key = OSSXP_ID
23#beaker.session.secret = somesecret
24#beaker.session.cookie_expires = True
25#beaker.session.cookie_domain = localhost
26beaker.session.cookie_expires = False
27beaker.session.timeout = 3600
28
29# If you'd like to fine-tune the individual locations of the cache data dirs
30# for the Cache data, or the Session saves, un-comment the desired settings
31# here:
32#beaker.cache.data_dir = %(here)s/data/cache
33#beaker.session.data_dir = %(here)s/data/sessions
34
35# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
36# Debug mode will enable the interactive debugging tool, allowing ANYONE to
37# execute malicious code after an exception is raised.
38#set debug = false
39
40# Configuration for pysvnmanager:
41#   Set admin files location.
42#   More manageable configurations are in config/localconfig.py.
43
44# Set unittest to True only for unittest mode. (nosetests)
45# Warning: if unitest is enabled, i18n for svnauthz module not work any more.
46unittest = True
47
48# Login test: user account and password
49test_users = {'root':'guess', 'jiangxin':'guess', 'nobody':'guess', 'admin1':'guess', 'admin2':'guess', '蒋鑫':'guess'}
50
51# authn_file: a .htpasswd style password file, used for pysvnmanager authentication.
52authn_file = %(here)s/config/svn.passwd.test
53
54# authz_file: svn authz config file with administrative extension. (ossxp.com)
55authz_file = %(here)s/config/svn.access.test
56
57# svn repository root path
58repos_root = %(here)s/svnroot.test
59
60# Logging configuration
61[loggers]
62keys = root, nose, nose_plugins_cover, pysvnmanager
63
64[handlers]
65keys = console
66
67[formatters]
68keys = generic
69
70[logger_root]
71level = DEBUG
72handlers = console
73
74[logger_nose]
75level = INFO
76handlers = console
77qualname = nose
78
79[logger_nose_plugins_cover]
80level = INFO
81handlers = console
82qualname = nose.plugins.cover
83
84[logger_pysvnmanager]
85level = DEBUG
86handlers =
87qualname = pysvnmanager
88
89[handler_console]
90class = StreamHandler
91args = (sys.stderr,)
92level = NOTSET
93formatter = generic
94
95[formatter_generic]
96format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
97datefmt = %H:%M:%S
Note: See TracBrowser for help on using the browser.