make tests 3.7 compatible

This commit is contained in:
Matthias
2021-04-13 21:54:06 +02:00
parent c2f35ce416
commit c316531c49
2 changed files with 3 additions and 1 deletions

View File

@@ -570,7 +570,7 @@ def test_rpc_balance_handle(default_conf, mocker, tickers):
assert prec_satoshi(result['total'], 12.309096315)
assert prec_satoshi(result['value'], 184636.44472997)
assert tickers.call_count == 1
assert tickers.call_args.kwargs['cached'] is True
assert tickers.call_args[1]['cached'] is True
assert 'USD' == result['symbol']
assert result['currencies'] == [
{'currency': 'BTC',