test/functional/wallet_avoidreuse.py
def assert_balances(node, mine):
    '''Make assertions about a node's getbalances output'''
    got = node.getbalances()["mine"]
    for k,v in mine.items():
        assert_approx(got[k], v, 0.001)
Make assertions about a node's getbalances output
Make assertions about a node's getbalances output
Make assertions about a node ' s getbalances output
def assert_balances(node, mine):
    got = node.getbalances()["mine"]
    for k,v in mine.items():
        assert_approx(got[k], v, 0.001)
def assert_balances ( node , mine ) : got = node . getbalances ( ) [ "mine" ] for k , v in mine . items ( ) : assert_approx ( got [ k ] , v , 0.001 )
Make assertions about a node's getbalances output
Make assertions about a node ' s getbalances output
'''Make assertions about a node's getbalances output'''
node
mine