More work with cleanup of unit tests
This commit is contained in:
parent
48fdc2c935
commit
0f39677b46
2 changed files with 6 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ DEFAULT_SETTING_RESETS = dict(
|
|||
BASE_GUEST_TYPECLASS="evennia.accounts.accounts.DefaultGuest",
|
||||
# a special setting boolean TEST_ENVIRONMENT is set by the test runner
|
||||
# while the test suite is running.
|
||||
TEST_ENVIRONMENT=True
|
||||
TEST_ENVIRONMENT=True,
|
||||
)
|
||||
|
||||
DEFAULT_SETTINGS = {**all_from_module(settings_default), **DEFAULT_SETTING_RESETS}
|
||||
|
|
@ -548,6 +548,9 @@ class BaseEvenniaTestCase(TestCase):
|
|||
|
||||
"""
|
||||
|
||||
def tearDown(self) -> None:
|
||||
flush_cache()
|
||||
|
||||
|
||||
class EvenniaTestCase(TestCase):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue