gpg: remove complex pubkey parsing code

This commit is contained in:
Roman Zeyde
2016-10-17 22:51:11 +03:00
parent 80c6f10533
commit 446ec99bf4
2 changed files with 2 additions and 25 deletions

View File

@@ -120,5 +120,5 @@ def public_key_path(request):
def test_gpg_files(public_key_path): # pylint: disable=redefined-outer-name
with open(public_key_path, 'rb') as f:
keys = decode.parse_public_keys(f)
assert len(keys) > 0
packets = list(decode.parse_packets(f))
assert len(packets) > 0