MCPcopy Index your code
hub / github.com/aptly-dev/aptly / TestCollectChangesFiles

Method TestCollectChangesFiles

deb/changes_test.go:77–87  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

75}
76
77func (s *ChangesSuite) TestCollectChangesFiles(c *C) {
78 changesFiles, failedFiles := CollectChangesFiles([]string{"testdata/changes"}, s.Reporter)
79
80 c.Check(failedFiles, HasLen, 0)
81 c.Check(changesFiles, DeepEquals, []string{
82 "testdata/changes/calamares.changes",
83 "testdata/changes/hardlink_0.2.1-invalidfiles_amd64.changes",
84 "testdata/changes/hardlink_0.2.1-invalidsig_amd64.changes",
85 "testdata/changes/hardlink_0.2.1_amd64.changes",
86 })
87}
88
89func (s *ChangesSuite) TestImportChangesFiles(c *C) {
90 repo := NewLocalRepo("test", "Test Comment")

Callers

nothing calls this directly

Calls 2

CollectChangesFilesFunction · 0.85
CheckMethod · 0.45

Tested by

no test coverage detected