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)
commit0c5bdd6319d589661e3239eb73cda9fb8d745a5b
treef804e1538eb8aba0e81dce113c07ceffac1caf2e
parent8b36f8aae8f9297de8eb7d8fb9b64d7d68abe31c
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]