Total row for telegram "/status table" command

fixes
This commit is contained in:
Eugene Schava
2021-05-17 16:22:48 +03:00
parent 3ad8fa2f38
commit 459fae6d80
2 changed files with 3 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ def test_rpc_status_table(default_conf, ticker, fee, mocker) -> None:
assert 'instantly' == result[0][2]
assert 'ETH/BTC' in result[0][1]
assert '-0.41% (-0.06)' == result[0][3]
assert -0.06 == fiat_profit_sum
assert '-0.06' == f'{fiat_profit_sum:.2f}'
mocker.patch('freqtrade.freqtradebot.FreqtradeBot.get_sell_rate',
MagicMock(side_effect=ExchangeError("Pair 'ETH/BTC' not available")))