condorcore-keyring/tests
David Runge e43a28f4a7
Simplify libkeyringctl.keyring.convert_certificate
libkeyringctl/keyring.py:
Simplify `convert_certificate()` by splitting out the conversion of
signature packets to `convert_signature_packet()` and the persistence of
packet material to `persist_key_material()`.
Add `convert_pubkey_signature_packet()`,
`convert_uid_signature_packet()` and
`convert_subkey_signature_packet()` to deal with the conversion of
public key signatures, UID signatures and subkey signatures
(respectively).

tests/test_keyring.py:
Add tests for `convert_certificate()`, `convert_signature_packet()`,
`convert_{pubkey,uid,subkey}_signature_packet()` and
`persist_subkey_revocations()`.
2021-11-30 22:54:16 +01:00
..
__init__.py Rename test directory to tests 2021-11-30 22:54:13 +01:00
conftest.py feature(keyringctl): rework str simplification for printable uids 2021-11-30 22:54:16 +01:00
test_git.py Add unit test for git integration 2021-11-30 22:54:14 +01:00
test_keyring.py Simplify libkeyringctl.keyring.convert_certificate 2021-11-30 22:54:16 +01:00
test_sequoia.py Add unit test for libkeyringctl.sequoia.packet_kinds 2021-11-30 22:54:15 +01:00
test_trust.py fix(tests): use working dir via fixture instead of cluttering cwd 2021-11-30 22:54:15 +01:00
test_util.py chore(keyringctl): add test for simplify_ascii 2021-11-30 22:54:16 +01:00