Merge branch 'master' into develop
This commit is contained in:
commit
a5136e41d7
4 changed files with 81 additions and 22 deletions
|
|
@ -76,7 +76,8 @@ class CommandTest(EvenniaTest):
|
|||
old_msg = receiver.msg
|
||||
try:
|
||||
receiver.msg = Mock()
|
||||
cmdobj.at_pre_cmd()
|
||||
if cmdobj.at_pre_cmd():
|
||||
return
|
||||
cmdobj.parse()
|
||||
ret = cmdobj.func()
|
||||
if isinstance(ret, types.GeneratorType):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue