(c *C)
| 988 | } |
| 989 | |
| 990 | func (s *PublishedRepoRemoveSuite) TestRemoveFilesWithTwoPools(c *C) { |
| 991 | _ = s.repo1.RemoveFiles(s.provider, false, []string{"main", "contrib"}, nil) |
| 992 | |
| 993 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/anaconda"), Not(PathExists)) |
| 994 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/meduza"), PathExists) |
| 995 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/osminog"), PathExists) |
| 996 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/pool/main"), Not(PathExists)) |
| 997 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/pool/contrib"), Not(PathExists)) |
| 998 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "dists/anaconda"), PathExists) |
| 999 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "pool/main"), PathExists) |
| 1000 | c.Check(filepath.Join(s.publishedStorage2.PublicPath(), "ppa/dists/osminog"), PathExists) |
| 1001 | c.Check(filepath.Join(s.publishedStorage2.PublicPath(), "ppa/pool/contrib"), PathExists) |
| 1002 | } |
| 1003 | |
| 1004 | func (s *PublishedRepoRemoveSuite) TestRemoveFilesWithPrefix(c *C) { |
| 1005 | _ = s.repo1.RemoveFiles(s.provider, true, []string{"main"}, nil) |
nothing calls this directly
no test coverage detected