Skip to content

Commit e1f8f73

Browse files
author
Lukas Pühringer
authored
Merge pull request #2591 from jku/tests-fix-signer-api
tests: Fix test signer to match new securesystemslib API
2 parents 40a4e48 + 24f172f commit e1f8f73

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ def from_priv_key_uri(
255255
) -> "Signer":
256256
pass
257257

258+
@property
259+
def public_key(self) -> Key:
260+
raise RuntimeError("Not a real signer")
261+
258262
def sign(self, payload: bytes) -> Signature:
259263
raise RuntimeError("signing failed")
260264

0 commit comments

Comments
 (0)