Don't specially handle empty results.

This commit is contained in:
Matthias
2022-02-22 20:07:41 +01:00
parent 1f9ed0beff
commit 5a4f30d1bd
3 changed files with 1 additions and 7 deletions

View File

@@ -861,7 +861,7 @@ def test_balance_handle_empty_response(default_conf, update, mocker) -> None:
telegram._balance(update=update, context=MagicMock())
result = msg_mock.call_args_list[0][0][0]
assert msg_mock.call_count == 1
assert 'All balances are zero.' in result
assert 'Starting capital: `0 BTC' in result
def test_balance_handle_empty_response_dry(default_conf, update, mocker) -> None: