Last change
on this file since 10:d5329a2a05b7 was 10:d5329a2a05b7, checked in by Borja Lopez <borja@…>, 13 years ago |
Fully added support for the configuration file. Now all the code uses
postman.conf to read the configuration parameters from it
Added a tests/postman.conf configuration file with specific configurtion
to use while testing (mostly tmp paths)
Updated the run_tests script to delete the temporary directory where
data is saved while running tests
Updated the tests modules/files so they use the tests config file
|
File size:
533 bytes
|
Rev | Line | |
---|
[10] | 1 | #
|
---|
| 2 | # postman.conf - Postman configuration file
|
---|
| 3 | #
|
---|
| 4 | # IMPORTANT: This config file should be used only
|
---|
| 5 | # for testing purposes
|
---|
| 6 |
|
---|
| 7 | [xmlrpc_server]
|
---|
| 8 | address = localhost
|
---|
| 9 | port = 9876
|
---|
| 10 | ssl = false
|
---|
| 11 | logfile = /tmp/postman-tests/xmlrpc_server.log
|
---|
| 12 |
|
---|
| 13 | [storage]
|
---|
| 14 | backend = json
|
---|
| 15 | path = /tmp/postman-tests/storage
|
---|
| 16 | lists_db = %(path)s/mailings.%(backend)s
|
---|
| 17 | members_db = %(path)s/members.%(backend)s
|
---|
| 18 |
|
---|
| 19 | [archive]
|
---|
| 20 | enabled = true
|
---|
| 21 | backend = json
|
---|
| 22 | path = /tmp/postman-tests/archives
|
---|
| 23 |
|
---|
| 24 | [mailing_lists]
|
---|
| 25 | private = true
|
---|
| 26 |
|
---|
| 27 | [members]
|
---|
| 28 | auto_signup = false
|
---|
| 29 | allow_chpasswd = false
|
---|
Note:
See
TracBrowser
for help on using the repository browser.