Continue adding unit tests to cmdhandler.get_and_merge_cmdsets function. Not finished yet, unclear how to propagate the options correctly.
This commit is contained in:
parent
40e1c67f88
commit
bac6c7f234
4 changed files with 131 additions and 5 deletions
|
|
@ -290,7 +290,7 @@ def get_and_merge_cmdsets(caller, session, player, obj, callertype):
|
|||
# we are calling the command from the player level
|
||||
report_to = player
|
||||
player_cmdset = yield _get_cmdsets(player)
|
||||
channel_cmdset = yield _get_channel_cmdset(player, player_cmdset)
|
||||
channel_cmdset = yield _get_channel_cmdset(player)
|
||||
cmdsets = player_cmdset + channel_cmdset
|
||||
if obj:
|
||||
obj_cmdset = yield _get_cmdsets(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue