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