package http import ( "github.com/go-git/go-git/v5/plumbing/transport/test" . "gopkg.in/check.v1" "github.com/go-git/go-git-fixtures/v4" ) type ReceivePackSuite struct { test.ReceivePackSuite BaseSuite } var _ = Suite(&ReceivePackSuite{}) func (s *ReceivePackSuite) SetUpTest(c *C) { s.BaseSuite.SetUpTest(c) s.ReceivePackSuite.Client = DefaultClient s.ReceivePackSuite.Endpoint = s.prepareRepository(c, fixtures.Basic().One(), "basic.git") s.ReceivePackSuite.EmptyEndpoint = s.prepareRepository(c, fixtures.ByTag("empty").One(), "empty.git") s.ReceivePackSuite.NonExistentEndpoint = s.newEndpoint(c, "non-existent.git") }