Ran black on sources
This commit is contained in:
parent
24d52f229f
commit
f6b43b0416
125 changed files with 355 additions and 329 deletions
|
|
@ -43,7 +43,6 @@ class EvAdventureCharacterGenerationTest(BaseEvenniaTest):
|
|||
|
||||
@patch("evennia.contrib.tutorials.evadventure.chargen.spawn")
|
||||
def test_apply(self, mock_spawn):
|
||||
|
||||
gambeson = create_object(objects.EvAdventureArmor, key="gambeson")
|
||||
mock_spawn.return_value = [gambeson]
|
||||
account = MagicMock()
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ from unittest.mock import Mock, call, patch
|
|||
|
||||
from evennia.utils import create
|
||||
from evennia.utils.ansi import strip_ansi
|
||||
from evennia.utils.test_resources import BaseEvenniaTest, EvenniaCommandTestMixin, EvenniaTestCase
|
||||
from evennia.utils.test_resources import (
|
||||
BaseEvenniaTest,
|
||||
EvenniaCommandTestMixin,
|
||||
EvenniaTestCase,
|
||||
)
|
||||
|
||||
from .. import combat_base, combat_turnbased, combat_twitch
|
||||
from ..characters import EvAdventureCharacter
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ Test the EvAdventure commands.
|
|||
from unittest.mock import call, patch
|
||||
|
||||
from anything import Something
|
||||
|
||||
from evennia.utils.create import create_object
|
||||
from evennia.utils.test_resources import BaseEvenniaCommandTest
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from ..objects import EvAdventureObject
|
|||
|
||||
class TestUtils(BaseEvenniaTest):
|
||||
def test_get_obj_stats(self):
|
||||
|
||||
obj = create.create_object(
|
||||
EvAdventureObject, key="testobj", attributes=(("desc", "A test object"),)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue