Adding the number of trades in the performance display

This commit is contained in:
Jean-Baptiste LE STANG
2018-01-02 14:32:13 +01:00
parent 0c11d4443f
commit 29987c3ff6
2 changed files with 7 additions and 5 deletions

View File

@@ -404,7 +404,7 @@ def test_performance_handle(
_performance(bot=MagicMock(), update=update)
assert msg_mock.call_count == 1
assert 'Performance' in msg_mock.call_args_list[0][0][0]
assert '<code>BTC_ETH\t6.20%</code>' in msg_mock.call_args_list[0][0][0]
assert '<code>BTC_ETH\t6.20% (1)</code>' in msg_mock.call_args_list[0][0][0]
def test_daily_handle(