Skip to content

Commit

Permalink
Changes from rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Steindler <[email protected]>
  • Loading branch information
steiza committed Dec 5, 2023
1 parent 6757257 commit a698c2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/client.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from __future__ import annotations
from contextlib import contextmanager

import os
import subprocess
from contextlib import contextmanager
from functools import singledispatchmethod
from pathlib import Path

Expand Down
4 changes: 1 addition & 3 deletions test/test_certificate_verify.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from pathlib import Path

import pytest # type: ignore

from .client import SignatureCertificateMaterials, SigstoreClient


Expand Down Expand Up @@ -60,5 +58,5 @@ def test_verify_trust_root_with_invalid_ct_keys(client: SigstoreClient) -> None:
materials.signature = signature_path
materials.trusted_root = trusted_root

with pytest.raises(ClientFail):
with client.raises():
client.verify(materials, artifact_path)

0 comments on commit a698c2f

Please sign in to comment.