(c *C)
| 75 | } |
| 76 | |
| 77 | func (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 | |
| 89 | func (s *ChangesSuite) TestImportChangesFiles(c *C) { |
| 90 | repo := NewLocalRepo("test", "Test Comment") |
nothing calls this directly
no test coverage detected