mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-03 09:37:39 +00:00
18 lines
470 B
Python
18 lines
470 B
Python
import pytest
|
|
|
|
from staking_deposit.credentials import CredentialList
|
|
from staking_deposit.settings import MainnetSetting
|
|
|
|
|
|
def test_from_mnemonic() -> None:
|
|
with pytest.raises(ValueError):
|
|
CredentialList.from_mnemonic(
|
|
mnemonic="",
|
|
mnemonic_password="",
|
|
num_keys=1,
|
|
amounts=[32, 32],
|
|
chain_setting=MainnetSetting,
|
|
start_index=1,
|
|
hex_eth1_withdrawal_address=None,
|
|
)
|