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

Class TestPGPKeyring

tests/test_10_exceptions.py:346–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344
345
346class TestPGPKeyring(object):
347 kr = PGPKeyring(_read('tests/testdata/pubtest.asc'))
348
349 def test_key_keyerror(self):
350 with pytest.raises(KeyError):
351 with self.kr.key('DEADBEA7CAFED00D'):
352 pass
353
354
355class TestPGPMessage(object):

Callers

nothing calls this directly

Calls 2

PGPKeyringClass · 0.90
_readFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…