Refactor unit test runner and one new unit test

This commit is contained in:
Griatch 2019-02-02 01:17:36 +01:00
parent 11d39a57b5
commit cd5979eea0
5 changed files with 52 additions and 39 deletions

View file

@ -831,9 +831,9 @@ AUTH_USERNAME_VALIDATORS = [
{'NAME': 'evennia.server.validators.EvenniaUsernameAvailabilityValidator'}]
# Use a custom test runner that just tests Evennia-specific apps.
TEST_RUNNER = 'evennia.server.tests.EvenniaTestSuiteRunner'
TEST_RUNNER = 'evennia.server.tests.testrunner.EvenniaTestSuiteRunner'
# Messages and Bootstrap don't classify events the same way; this setting maps
# Messages and Bootstrap don't classify events the same way; this setting maps
# messages.error() to Bootstrap 'danger' classes.
MESSAGE_TAGS = {
messages.ERROR: 'danger',