Update command list to handle frozenSets
This commit is contained in:
@@ -235,7 +235,7 @@ class Telegram(RPCHandler):
|
|||||||
)
|
)
|
||||||
logger.info(
|
logger.info(
|
||||||
'rpc.telegram is listening for following commands: %s',
|
'rpc.telegram is listening for following commands: %s',
|
||||||
[h.command for h in handles]
|
[[x for x in sorted(h.commands)] for h in handles]
|
||||||
)
|
)
|
||||||
|
|
||||||
def cleanup(self) -> None:
|
def cleanup(self) -> None:
|
||||||
|
|||||||
@@ -115,14 +115,14 @@ def test_telegram_init(default_conf, mocker, caplog) -> None:
|
|||||||
|
|
||||||
message_str = ("rpc.telegram is listening for following commands: [['status'], ['profit'], "
|
message_str = ("rpc.telegram is listening for following commands: [['status'], ['profit'], "
|
||||||
"['balance'], ['start'], ['stop'], "
|
"['balance'], ['start'], ['stop'], "
|
||||||
"['forcesell', 'forceexit', 'fx'], ['forcebuy', 'forcelong'], ['forceshort'], "
|
"['forceexit', 'forcesell', 'fx'], ['forcebuy', 'forcelong'], ['forceshort'], "
|
||||||
"['trades'], ['delete'], ['coo', 'cancel_open_order'], ['performance'], "
|
"['trades'], ['delete'], ['cancel_open_order', 'coo'], ['performance'], "
|
||||||
"['buys', 'entries'], ['sells', 'exits'], ['mix_tags'], "
|
"['buys', 'entries'], ['exits', 'sells'], ['mix_tags'], "
|
||||||
"['stats'], ['daily'], ['weekly'], ['monthly'], "
|
"['stats'], ['daily'], ['weekly'], ['monthly'], "
|
||||||
"['count'], ['locks'], ['unlock', 'delete_locks'], "
|
"['count'], ['locks'], ['delete_locks', 'unlock'], "
|
||||||
"['reload_config', 'reload_conf'], ['show_config', 'show_conf'], "
|
"['reload_conf', 'reload_config'], ['show_conf', 'show_config'], "
|
||||||
"['stopbuy', 'stopentry'], ['whitelist'], ['blacklist'], "
|
"['stopbuy', 'stopentry'], ['whitelist'], ['blacklist'], "
|
||||||
"['blacklist_delete', 'bl_delete'], "
|
"['bl_delete', 'blacklist_delete'], "
|
||||||
"['logs'], ['edge'], ['health'], ['help'], ['version'], ['marketdir']"
|
"['logs'], ['edge'], ['health'], ['help'], ['version'], ['marketdir']"
|
||||||
"]")
|
"]")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user