scorecard/e2e/signedtags_test.go
naveen 2978ae550a Fix - signed-tags e2e tests.
The signed tags e2e tests were failing because apache/airflow pushed
tags without signing.

Changed from apache/airflow to bitcoin/bitcoin.
2021-03-11 10:59:03 -05:00

32 lines
702 B
Go

package e2e
import (
"context"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/ossf/scorecard/checker"
"github.com/ossf/scorecard/checks"
)
var _ = Describe("E2E TEST:Signedtags", func() {
Context("E2E TEST:Validating signed tags", func() {
It("Should return valid signed tags", func() {
l := log{}
checker := checker.Checker{
Ctx: context.Background(),
Client: ghClient,
HttpClient: client,
Owner: "bitcoin",
Repo: "bitcoin",
GraphClient: graphClient,
Logf: l.Logf,
}
result := checks.SignedTags(checker)
Expect(result.Error).Should(BeNil())
Expect(result.Pass).Should(BeTrue())
})
})
})