Don't specially handle empty results.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user