Update test_rpc_telegram.py

This commit is contained in:
Kavinkumar 2022-03-11 01:52:02 +05:30 committed by GitHub
parent f6f2e17409
commit 9bdfe6fdfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2005,7 +2005,7 @@ def test_send_msg_sell_notification(default_conf, mocker) -> None:
})
assert msg_mock.call_args[0][0] \
== ('\N{WARNING SIGN} *Binance:* Selling KEY/ETH (#1)\n'
'*Unrealized Profit:* `-57.41% (loss: -0.05746268 ETH / -24.812 USD)`\n'
'*Unrealized Profit:* `-57.41% (loss: -0.05746268 ETH)`\n'
'*Buy Tag:* `buy_signal1`\n'
'*Sell Reason:* `stop_loss`\n'
'*Amount:* `1333.33333333`\n'
@ -2076,7 +2076,7 @@ def test_send_msg_sell_fill_notification(default_conf, mocker) -> None:
})
assert msg_mock.call_args[0][0] \
== ('\N{WARNING SIGN} *Binance:* Sold KEY/ETH (#1)\n'
'*Profit:* `-57.41%`\n'
'*Profit:* `-57.41% (loss: -0.05746268 ETH)`\n'
'*Buy Tag:* `buy_signal1`\n'
'*Sell Reason:* `stop_loss`\n'
'*Amount:* `1333.33333333`\n'