Test @spawn/edit BALL (synonym)
This commit is contained in:
parent
9f26d4b728
commit
f70fa467f5
1 changed files with 7 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ class TestBuilding(CommandTest):
|
||||||
assert msg.startswith('______________________________________________________________________________\n\n --- Prototype wizard --- \n\n')
|
assert msg.startswith('______________________________________________________________________________\n\n --- Prototype wizard --- \n\n')
|
||||||
|
|
||||||
# @spawn/edit with valid prototype
|
# @spawn/edit with valid prototype
|
||||||
self.call(
|
msg = self.call(
|
||||||
building.CmdSpawn(),
|
building.CmdSpawn(),
|
||||||
'/edit testball')
|
'/edit testball')
|
||||||
# TODO: OLC menu comes up but it gives no
|
# TODO: OLC menu comes up but it gives no
|
||||||
|
|
@ -496,6 +496,12 @@ class TestBuilding(CommandTest):
|
||||||
# by Room(#1)...
|
# by Room(#1)...
|
||||||
assert 'Prototype wizard' in msg
|
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
|
# @spawn/edit with invalid prototype
|
||||||
msg = self.call(
|
msg = self.call(
|
||||||
building.CmdSpawn(),
|
building.CmdSpawn(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue