def test_to_text(val, expected): assert Web3.toText(val) == expected
def test_to_text_hexstr(val, expected): assert Web3.toText(hexstr=val) == expected
def test_to_text_identity(): assert Web3.toText(text='pass-through') == 'pass-through'