Add test case for interactive telegram exit

This commit is contained in:
Matthias
2022-04-09 09:41:01 +02:00
parent 9cd92ed48c
commit ddfc68d533
2 changed files with 51 additions and 3 deletions

View File

@@ -975,7 +975,7 @@ class Telegram(RPCHandler):
trade_id = query.data.split("__")[1].split(' ')[0]
if trade_id == 'cancel':
query.answer()
query.edit_message_text(text="Forcesell canceled")
query.edit_message_text(text="Force exit canceled.")
return
trade: Trade = Trade.get_trades(trade_filter=Trade.id == trade_id).first()
query.answer()