Skip to content

Commit

Permalink
more checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 20, 2024
1 parent 4bbce0f commit 7ca1be6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_key_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def test_file_key_resolver(httpx_mock: HTTPXMock):
res = resolver.resolve_public_key(key_id)
assert res == public_key

with pytest.raises(ValueError):
_ = resolver.resolve_public_key("🔐")

with pytest.raises(KeyError):
_ = resolver.resolve_public_key("unknown")

Expand Down

0 comments on commit 7ca1be6

Please sign in to comment.