Fix tutorial typo. Extend unit test for command

This commit is contained in:
Griatch 2023-01-07 20:58:12 +01:00
parent 1cb2c4c7f3
commit b8012b7e92
2 changed files with 15 additions and 9 deletions

View file

@ -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(