(c *C)
| 974 | } |
| 975 | |
| 976 | func (s *PublishedRepoRemoveSuite) TestRemoveFilesWithPool(c *C) { |
| 977 | _ = s.repo1.RemoveFiles(s.provider, false, []string{"main"}, nil) |
| 978 | |
| 979 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/anaconda"), Not(PathExists)) |
| 980 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/meduza"), PathExists) |
| 981 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/dists/osminog"), PathExists) |
| 982 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/pool/main"), Not(PathExists)) |
| 983 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "ppa/pool/contrib"), PathExists) |
| 984 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "dists/anaconda"), PathExists) |
| 985 | c.Check(filepath.Join(s.publishedStorage.PublicPath(), "pool/main"), PathExists) |
| 986 | c.Check(filepath.Join(s.publishedStorage2.PublicPath(), "ppa/dists/osminog"), PathExists) |
| 987 | c.Check(filepath.Join(s.publishedStorage2.PublicPath(), "ppa/pool/contrib"), PathExists) |
| 988 | } |
| 989 | |
| 990 | func (s *PublishedRepoRemoveSuite) TestRemoveFilesWithTwoPools(c *C) { |
| 991 | _ = s.repo1.RemoveFiles(s.provider, false, []string{"main", "contrib"}, nil) |
nothing calls this directly
no test coverage detected