staking-deposit-cli/tests/test_credentials.py

15 lines
336 B
Python
Raw Normal View History

2020-09-14 14:47:15 +00:00
import pytest
from eth2deposit.credentials import CredentialList
def test_from_mnemonic():
with pytest.raises(ValueError):
CredentialList.from_mnemonic(
mnemonic="",
num_keys=1,
amounts=[32, 32],
fork_version=bytes.fromhex('00000001'),
start_index=1,
)