mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Add unittest for talking_npc contrib as per #1105.
This commit is contained in:
parent
a0b1a0cac1
commit
fd4f72f4d0
1 changed files with 9 additions and 0 deletions
|
|
@ -618,4 +618,13 @@ class TestSlowExit(CommandTest):
|
|||
self.call(slow_exit.CmdSetSpeed(), "walk", "You are now walking.")
|
||||
self.call(slow_exit.CmdStop(), "", "You stop moving.")
|
||||
|
||||
# test talking npc contrib
|
||||
|
||||
from evennia.contrib import talking_npc
|
||||
|
||||
class TestTalkingNPC(CommandTest):
|
||||
def test_talkingnpc(self):
|
||||
create_object(talking_npc.TalkingNPC, key="npctalker", location=self.room1)
|
||||
self.call(talking_npc.CmdTalk(), "","(You walk up and talk to Char.)|")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue