Test @spawn/edit BALL (synonym)

This commit is contained in:
Henddher Pedroza 2018-10-20 20:22:11 -05:00
parent 9f26d4b728
commit f70fa467f5

View file

@ -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(),