diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-05-24 20:54:17 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-05-24 20:54:26 -0400 |
commit | fd068633004b2635ffd71e3ad881455e053ae1d8 (patch) | |
tree | aafba4693fc5be20fdf39a09f6befcc49a68c6c1 /tests | |
parent | 72898dbd77a94b91f77f47e15c7d206c5c41bef6 (diff) |
TODO/tweak to PKey.__repr__
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth.py b/tests/auth.py index 52544e88..c0afe889 100644 --- a/tests/auth.py +++ b/tests/auth.py @@ -404,7 +404,7 @@ class AuthSource_: source = InMemoryPrivateKey("foo", pkey) assert ( repr(source) - == "InMemoryPrivateKey(pkey=Ed25519Key(alg=ED25519, bits=256, fp=SHA256:J6VESFdD3xSChn8y9PzWzeF+1tl892mOy2TqkMLO4ow))" # noqa + == "InMemoryPrivateKey(pkey=PKey(alg=ED25519, bits=256, fp=SHA256:J6VESFdD3xSChn8y9PzWzeF+1tl892mOy2TqkMLO4ow))" # noqa ) def repr_appends_agent_flag_when_AgentKey(self): @@ -413,7 +413,7 @@ class AuthSource_: source = InMemoryPrivateKey("foo", pkey) assert ( repr(source) - == "InMemoryPrivateKey(pkey=AgentKey(alg=ED25519, bits=256, fp=SHA256:J6VESFdD3xSChn8y9PzWzeF+1tl892mOy2TqkMLO4ow)) [agent]" # noqa + == "InMemoryPrivateKey(pkey=PKey(alg=ED25519, bits=256, fp=SHA256:J6VESFdD3xSChn8y9PzWzeF+1tl892mOy2TqkMLO4ow)) [agent]" # noqa ) class OnDiskPrivateKey_: |