Fix tutorial typo. Extend unit test for command
This commit is contained in:
parent
1cb2c4c7f3
commit
b8012b7e92
2 changed files with 15 additions and 9 deletions
|
|
@ -81,7 +81,9 @@ class TestGeneral(BaseEvenniaCommandTest):
|
|||
self.call(general.CmdInventory(), "", "You are not carrying anything.")
|
||||
|
||||
def test_pose(self):
|
||||
self.char2.msg = Mock()
|
||||
self.call(general.CmdPose(), "looks around", "Char looks around")
|
||||
self.char2.msg.assert_called_with(text=('Char looks around', {'type': 'pose'}), from_obj=self.char1)
|
||||
|
||||
def test_nick(self):
|
||||
self.call(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue