Exemplo n.º 1
0
def test_sha3_hexstr(hexstr, digest):
    with pytest.deprecated_call():
        assert Web3.sha3(hexstr=hexstr) == digest
Exemplo n.º 2
0
def test_sha3_text(message, digest):
    with pytest.deprecated_call():
        assert Web3.sha3(text=message) == digest