mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add test for #8591
This commit is contained in:
parent
976cc1ab15
commit
0adac268ee
|
@ -825,6 +825,9 @@ async def test_telegram_stats(default_conf, update, ticker, fee, mocker, is_shor
|
|||
assert 'Exit Reason' in msg_mock.call_args_list[-1][0][0]
|
||||
assert 'ROI' in msg_mock.call_args_list[-1][0][0]
|
||||
assert 'Avg. Duration' in msg_mock.call_args_list[-1][0][0]
|
||||
# Duration is not only N/A
|
||||
assert '0:19:00' in msg_mock.call_args_list[-1][0][0]
|
||||
assert 'N/A' in msg_mock.call_args_list[-1][0][0]
|
||||
msg_mock.reset_mock()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user