diff --git a/evennia/commands/default/tests.py b/evennia/commands/default/tests.py index d8657a7113..8dce5ccc46 100644 --- a/evennia/commands/default/tests.py +++ b/evennia/commands/default/tests.py @@ -486,7 +486,7 @@ class TestBuilding(CommandTest): assert msg.startswith('______________________________________________________________________________\n\n --- Prototype wizard --- \n\n') # @spawn/edit with valid prototype - self.call( + msg = self.call( building.CmdSpawn(), '/edit testball') # TODO: OLC menu comes up but it gives no @@ -496,6 +496,12 @@ class TestBuilding(CommandTest): # by Room(#1)... assert 'Prototype wizard' in msg + # @spawn/edit with valid prototype (synomym) + msg = self.call( + building.CmdSpawn(), + '/edit BALL') + assert 'Prototype wizard' in msg + # @spawn/edit with invalid prototype msg = self.call( building.CmdSpawn(),