Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SecurityInnovation/PGPy
/ test_key_keyerror
Method
test_key_keyerror
tests/test_10_exceptions.py:349–352 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
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
355
class
TestPGPMessage(object):
Callers
nothing calls this directly
Calls
1
key
Method · 0.80
Tested by
no test coverage detected