Isolate EvenniaTestCase/EvenniaCommandTest for pristine settings

This commit is contained in:
Griatch 2021-12-22 01:23:03 +01:00
parent 541e5a116a
commit 498a031662
40 changed files with 223 additions and 123 deletions

View file

@ -4,7 +4,7 @@ Tests for RP system
"""
import time
from anything import Anything
from evennia.commands.default.tests import CommandTest
from evennia.commands.default.tests import EvenniaCommandTest
from evennia.utils.test_resources import EvenniaTest
from evennia import create_object
@ -278,7 +278,7 @@ class TestRPSystem(EvenniaTest):
self.assertEqual(result, (Anything, self.speaker, self.speaker.key))
class TestRPSystemCommands(CommandTest):
class TestRPSystemCommands(EvenniaCommandTest):
def setUp(self):
super().setUp()
self.char1.swap_typeclass(rpsystem.ContribRPCharacter)