Enable initial admin account in example config
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 14 May 2017 14:00:11 +0000 (14:00 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 14 May 2017 14:00:11 +0000 (14:00 +0000)
commita848ee505cff4e968417004173adc790f4e78ff1
treec4b206d2095fd09dd03677e6494aaa9a8ab9ceb6
parentb49b46647b67b797a42b8ffaeca3801bb3b71250
Enable initial admin account in example config

The example etc/mudpy.yaml, intended for demonstration purposes,
only binds a listening socket on the loopback interface so shouldn't
be exposed remotely. As a result, turn on the configuration option
to enable elevating the account named "admin" to administrative
privileges automatically upon creation. This allows to run tests of
admin-specific commands with the example configuration.

Also rename the "testadmin" account used by the selftest to match
the name of the default for consistency, and rename test_config.yaml
to test_daemon.yaml reflecting its primary purpose (and also to open
the way for additional test configs as well).
etc/mudpy.yaml
mudpy/tests/fixtures/test_daemon.yaml [moved from mudpy/tests/fixtures/test_config.yaml with 98% similarity]
mudpy/tests/selftest.py