mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
Correct spawn unittest
This commit is contained in:
parent
a3809ae877
commit
415f0c4b4d
1 changed files with 3 additions and 2 deletions
|
|
@ -637,8 +637,6 @@ class TestBuilding(CommandTest):
|
|||
|
||||
# Tests "@spawn" without any arguments.
|
||||
self.call(building.CmdSpawn(), " ", "Usage: @spawn")
|
||||
self.call(building.CmdSpawn(), "/search ", "Key ")
|
||||
self.call(building.CmdSpawn(), "/search test;test2", "")
|
||||
|
||||
# Tests "@spawn <prototype_dictionary>" without specifying location.
|
||||
|
||||
|
|
@ -647,6 +645,9 @@ class TestBuilding(CommandTest):
|
|||
"'typeclass':'evennia.objects.objects.DefaultCharacter'}",
|
||||
"Saved prototype: testprot", inputs=['y'])
|
||||
|
||||
self.call(building.CmdSpawn(), "/search ", "Key ")
|
||||
self.call(building.CmdSpawn(), "/search test;test2", "")
|
||||
|
||||
self.call(building.CmdSpawn(),
|
||||
"/save {'key':'Test Char', "
|
||||
"'typeclass':'evennia.objects.objects.DefaultCharacter'}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue