mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-23 11:57:19 +00:00
Linting fixes
This commit is contained in:
parent
dbfbaccca9
commit
f6c9d4b8fd
@ -28,13 +28,13 @@ def test_hkdf_mod_r(test) -> None:
|
|||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'seed',
|
'seed',
|
||||||
[b'\x00'*32]
|
[b'\x00' * 32]
|
||||||
)
|
)
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'key_info',
|
'key_info',
|
||||||
[b'\x00'*32, b'\x01\x23\x45\x67\x89\xAB\xBC\xDE\xFF', b'\xFF'*16]
|
[b'\x00' * 32, b'\x01\x23\x45\x67\x89\xAB\xBC\xDE\xFF', b'\xFF' * 16]
|
||||||
)
|
)
|
||||||
def test_hkdf_mod_r_key_info(seed: bytes, key_info:bytes) -> None:
|
def test_hkdf_mod_r_key_info(seed: bytes, key_info: bytes) -> None:
|
||||||
assert bls.KeyGen(seed, key_info) == _HKDF_mod_r(IKM=seed, key_info=key_info)
|
assert bls.KeyGen(seed, key_info) == _HKDF_mod_r(IKM=seed, key_info=key_info)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user