From e366e075f4bda05babd73cc0f105ec0d48b13280 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Wed, 24 May 2023 22:11:29 -0400 Subject: TODOs for later --- tests/pkey.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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")) -- cgit v1.2.3