Skip to content

Move non-integration tests to different test file #9576

@codysoyland

Description

@codysoyland

Per https://github.com/cli/cli/pull/9566/files#r1747278610, there are two tests in the integration tests file that can be moved into a non-integration test file:

t.Run("with missing verification material", func(t *testing.T) {
_, err := GetLocalAttestations("../test/data/github_provenance_demo-0.0.12-py3-none-any-bundle-missing-verification-material.jsonl")
require.ErrorContains(t, err, "missing verification material")
})
t.Run("with missing verification certificate", func(t *testing.T) {
_, err := GetLocalAttestations("../test/data/github_provenance_demo-0.0.12-py3-none-any-bundle-missing-cert.jsonl")
require.ErrorContains(t, err, "missing bundle content")
})

Metadata

Metadata

Assignees

Labels

gh-attestationrelated to the gh attestation commandneeds-triageneeds to be reviewed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions