mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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(), \
|
||||
"'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):
|
||||
|
||||
|
|
@ -446,4 +457,4 @@ class TestUnconnectedCommand(CommandTest):
|
|||
settings.SERVERNAME,
|
||||
datetime.datetime.fromtimestamp(gametime.SERVER_START_TIME).ctime(),
|
||||
SESSIONS.account_count(), utils.get_evennia_version())
|
||||
self.call(unloggedin.CmdUnconnectedInfo(), "", expected)
|
||||
self.call(unloggedin.CmdUnconnectedInfo(), "", expected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue