Tests for @spawn/edit and @spawn/examine
This commit is contained in:
parent
5387419a3d
commit
4946b0f65d
1 changed files with 12 additions and 1 deletions
|
|
@ -372,6 +372,17 @@ class TestBuilding(CommandTest):
|
||||||
self.call(building.CmdSpawn(), \
|
self.call(building.CmdSpawn(), \
|
||||||
"'NO_EXIST'", "No prototype named 'NO_EXIST'")
|
"'NO_EXIST'", "No prototype named 'NO_EXIST'")
|
||||||
|
|
||||||
|
# @span/edit
|
||||||
|
self.call(
|
||||||
|
building.CmdSpawn(),
|
||||||
|
'/edit',
|
||||||
|
'spawn: Extra switch "/edit" ignored')
|
||||||
|
|
||||||
|
# @span/examine
|
||||||
|
self.call(
|
||||||
|
'/examine',
|
||||||
|
building.CmdSpawn(), 'spawn: Extra switch "/examine" ignored')
|
||||||
|
|
||||||
|
|
||||||
class TestComms(CommandTest):
|
class TestComms(CommandTest):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue