Skip to content

Commit

Permalink
fixup! (WIP) some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
almet committed Feb 25, 2025
1 parent 0f2d81d commit b4818ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ def signature_other_digest(valid_signature):
signature = valid_signature.copy()
signature["Bundle"]["Payload"]["digest"] = "sha256:123456"
return signature
def tempered_signature():
signature_file = next(TEMPERED_SIGNATURES_PATH.glob("**/*.json"))
with open(signature_file, "r") as signature_file:
signatures = json.load(signature_file)
return signatures.pop()


@pytest.fixture


def test_load_valid_signatures(mocker):
Expand Down

0 comments on commit b4818ce

Please sign in to comment.