diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-05-24 22:11:29 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-05-24 22:11:29 -0400 |
commit | e366e075f4bda05babd73cc0f105ec0d48b13280 (patch) | |
tree | cd544be0640ff904c27a7ba83e362b641e9ecf42 /tests | |
parent | 0923d57b13495c5fa4f9d6a36eb86eb4bf8aca88 (diff) |
TODOs for later
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pkey.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pkey.py b/tests/pkey.py index 3a1ee5ca..d1dbe0e5 100644 --- a/tests/pkey.py +++ b/tests/pkey.py @@ -17,11 +17,17 @@ from ._util import _support class PKey_: + # NOTE: this is incidentally tested by a number of other tests, such as the + # agent.py test suite class from_type_string: def loads_from_type_and_bytes(self, keys): obj = PKey.from_type_string(keys.full_type, keys.pkey.asbytes()) assert obj == keys.pkey + # TODO: exceptions + # + # TODO: passphrase? OTOH since this is aimed at the agent...irrelephant + class from_path: def loads_from_Path(self, keys): obj = PKey.from_path(keys.path) @@ -62,6 +68,8 @@ class PKey_: with raises(ValueError): PKey.from_path(__file__) + # TODO: passphrase support tested + class automatically_loads_certificates: def existing_cert_loaded_when_given_key_path(self): key = PKey.from_path(_support("rsa.key")) |