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

Method TestRefKey

deb/remote_test.go:305–309  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

303}
304
305func (s *RemoteRepoSuite) TestRefKey(c *C) {
306 c.Assert(len(s.repo.RefKey()), Equals, 37)
307 c.Assert(s.repo.RefKey()[0], Equals, byte('E'))
308 c.Assert(s.repo.RefKey()[1:], DeepEquals, s.repo.Key()[1:])
309}
310
311func (s *RemoteRepoSuite) TestDownload(c *C) {
312 s.repo.Architectures = []string{"i386"}

Callers

nothing calls this directly

Calls 2

RefKeyMethod · 0.45
KeyMethod · 0.45

Tested by

no test coverage detected