Add a suitable test config for the daemon
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 28 Mar 2017 02:21:39 +0000 (02:21 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 28 Mar 2017 02:21:39 +0000 (02:21 +0000)
commitd010b522dacb1a2dd3ae29a09529cc2919635b56
treef804e1538eb8aba0e81dce113c07ceffac1caf2e
parente3402586cffb5c1fcd1cc10c50cad4d3bed1f4c3
Add a suitable test config for the daemon

In service of more repeatable testing and improved feature coverage,
include a test fixture for a version of the normal sample
configuration with some additional non-default features enabled and
some settings tuned to values which make testing easier/faster (not
recommended for production use):

* allow "testuser" to automatically be an admin when created

* enable data backup copies but keep only 3 when rotating

* turn on file-backed logging

* background the daemon process once initialized

* write a pidfile

* inject status updates into logs every 25 ticks

* save and rotate datafiles every 5 ticks
.gitignore
mudpy/tests/fixtures/test_config.yaml [new file with mode: 0644]