Linting fixes

This commit is contained in:
Carl Beekhuizen 2020-06-29 16:44:17 +02:00
parent dbfbaccca9
commit f6c9d4b8fd
No known key found for this signature in database
GPG Key ID: 8F29E54F49E7AAB5

View File

@ -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)