Ejemplo n.º 1
0
def test_to_text(val, expected):
    assert Web3.toText(val) == expected
Ejemplo n.º 2
0
def test_to_text_hexstr(val, expected):
    assert Web3.toText(hexstr=val) == expected
Ejemplo n.º 3
0
def test_to_text_identity():
    assert Web3.toText(text='pass-through') == 'pass-through'