From f08503bea029fe50c332cd2b2bb02d735ca07d8e Mon Sep 17 00:00:00 2001 From: John Andersen Date: Tue, 21 Nov 2023 23:56:20 +0100 Subject: [PATCH] Rename keyloader for activitypub actor function Signed-off-by: John Andersen --- scitt_emulator/key_loader_format_activitypub_actor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scitt_emulator/key_loader_format_activitypub_actor.py b/scitt_emulator/key_loader_format_activitypub_actor.py index 3fa58c6a..eba919fa 100644 --- a/scitt_emulator/key_loader_format_activitypub_actor.py +++ b/scitt_emulator/key_loader_format_activitypub_actor.py @@ -15,7 +15,7 @@ -def key_loader_format_url_referencing_activitypub_actor( +def key_loader_format_activitypub_actor( unverified_issuer: str, ) -> List[Tuple[cwt.COSEKey, pycose.keys.ec2.EC2Key]]: """ @@ -42,7 +42,7 @@ def key_loader_format_url_referencing_activitypub_actor( ... self.wfile.write(contents) >>> >>> with httptest.Server(TestHTTPServer) as ts: - ... len(key_loader_format_url_referencing_activitypub_actor(f"alice@{ts.url()[:-1]}")) + ... len(key_loader_format_activitypub_actor(f"alice@{ts.url()[:-1]}")) 1 """ jwk_keys = []