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

Method TestDownloadURL

deb/package_files_test.go:57–59  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

55}
56
57func (s *PackageFilesSuite) TestDownloadURL(c *C) {
58 c.Check(s.files[0].DownloadURL(), Equals, "pool/contrib/a/alien-arena/alien-arena-common_7.40-2_i386.deb")
59}
60
61func (s *PackageFilesSuite) TestHash(c *C) {
62 c.Check(s.files.Hash(), Equals, uint64(0xc8901eedd79ac51b))

Callers

nothing calls this directly

Calls 2

DownloadURLMethod · 0.80
CheckMethod · 0.45

Tested by

no test coverage detected