staking-deposit-cli/tests/test_credentials.py
2020-10-14 17:29:09 +02:00

16 lines
378 B
Python

import pytest
from eth2deposit.credentials import CredentialList
def test_from_mnemonic() -> None:
with pytest.raises(ValueError):
CredentialList.from_mnemonic(
mnemonic="",
mnemonic_password="",
num_keys=1,
amounts=[32, 32],
fork_version=bytes.fromhex('00000000'),
start_index=1,
)