mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Include missing argument to format_keyval_to_metadata() in test_repository_lib.py
This commit is contained in:
parent
5c17b59fc2
commit
467a1af5e9
1 changed files with 3 additions and 1 deletions
|
|
@ -274,8 +274,10 @@ def test_import_ed25519_publickey_from_file(self):
|
|||
# Invalid public key imported (contains unexpected keytype.)
|
||||
keytype = imported_ed25519_key['keytype']
|
||||
keyval = imported_ed25519_key['keyval']
|
||||
scheme = imported_ed25519_key['scheme']
|
||||
ed25519key_metadata_format = \
|
||||
securesystemslib.keys.format_keyval_to_metadata(keytype, keyval, private=False)
|
||||
securesystemslib.keys.format_keyval_to_metadata(keytype, scheme,
|
||||
keyval, private=False)
|
||||
|
||||
ed25519key_metadata_format['keytype'] = 'invalid_keytype'
|
||||
with open(ed25519_keypath + '.pub', 'wb') as file_object:
|
||||
|
|
|
|||
Loading…
Reference in a new issue