MCPcopy Create free account
hub / github.com/aptly-dev/aptly / TestPublishLocalSourceRepo

Method TestPublishLocalSourceRepo

deb/publish_test.go:561–567  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

559}
560
561func (s *PublishedRepoSuite) TestPublishLocalSourceRepo(c *C) {
562 err := s.repo4.Publish(s.packagePool, s.provider, s.factory, nil, nil, false, "")
563 c.Assert(err, IsNil)
564
565 c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/maverick/Release"), PathExists)
566 c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/maverick/main/source/Release"), PathExists)
567}
568
569func (s *PublishedRepoSuite) TestPublishOtherStorage(c *C) {
570 err := s.repo5.Publish(s.packagePool, s.provider, s.factory, nil, nil, false, "")

Callers

nothing calls this directly

Calls 3

PublishMethod · 0.80
PublicPathMethod · 0.65
CheckMethod · 0.45

Tested by

no test coverage detected