Rename debug testenv to demo and use sample config
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 31 Dec 2018 18:41:49 +0000 (18:41 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 31 Dec 2018 18:41:49 +0000 (18:41 +0000)
commit934c8ddded853cc35c3a4e7b03a44b8a13d72347
tree225c46e24c516d6fb4807dde5ac6af4a841c33e5
parent2e6250c2688516b2734540e7ab2d5be6b7ff1c8b
Rename debug testenv to demo and use sample config

Switch the tox testenv name for invoking the daemon to demo, and
also switch it to implicitly using the default sample configuration
in etc/mudpy.yaml rather than explicitly using the daemon config
from the test fixtures. This makes it a little more friendly for
developers and/or first-time users who want to try things out since
`tox -e demo` will get them the log streaming to stdout and the
process bound to the invoking terminal where they can terminate it
with a simple sigint. For those who want to use a different
configuration, it can be passed with a command-line argument, like
`tox -e demo mudpy/tests/fixtures/test_daemon.yaml` (as an example
to replicate the old "debug" behavior).
tox.ini