(t *testing.T, bundlePath string)
| 17 | ) |
| 18 | |
| 19 | func getAttestationsFor(t *testing.T, bundlePath string) []*api.Attestation { |
| 20 | t.Helper() |
| 21 | |
| 22 | attestations, err := verification.GetLocalAttestations(bundlePath) |
| 23 | require.NoError(t, err) |
| 24 | |
| 25 | return attestations |
| 26 | } |
| 27 | |
| 28 | func TestVerifyAttestations(t *testing.T) { |
| 29 | sgVerifier, err := verification.NewLiveSigstoreVerifier(verification.SigstoreConfig{ |
no test coverage detected