MCPcopy Create free account
hub / github.com/SecurityInnovation/PGPy / test_select_keyid

Method test_select_keyid

tests/test_04_PGP_objects.py:220–225  ·  view source on GitHub ↗
(self, keyring)

Source from the content-addressed store, hash-verified

218 assert key.userids[0].name == name
219
220 def test_select_keyid(self, keyring):
221 with keyring.key("37473B3758C44F36") as rsa:
222 assert rsa.userids[0].name == "RSA von TestKey"
223
224 with keyring.key("2B474BB02084C712") as dsa:
225 assert dsa.userids[0].name == "DSA von TestKey"
226
227 def test_select_shortid(self, keyring):
228 with keyring.key("58C44F36") as rsa:

Callers

nothing calls this directly

Calls 1

keyMethod · 0.80

Tested by

no test coverage detected