Lines Matching defs:catalog

35 import pkg.catalog
863 # Verify rebuild --no-catalog works for an empty repository,
864 # and that the catalog itself does not change.
867 self.pkgrepo("rebuild -s {0} --no-catalog".format(repo_uri))
883 # Verify that rebuild --no-catalog works for a repository with
887 # Now rebuild and verify packages are still known and catalog
890 self.pkgrepo("rebuild -s {0} --no-catalog".format(repo_uri))
899 # Destroy the catalog.
906 # Now rebuild and verify packages are still unknown and catalog
909 self.pkgrepo("rebuild -s {0} --no-catalog".format(repo_uri))
921 # Destroy the catalog.
960 # Destroy the catalog only (to verify that rebuild destroys
1003 # Create a repository, add a publisher, remove its catalog,
1041 # catalog to verify only test's catalog was rebuilt.
1057 # catalog to verify all catalogs were rebuilt.
1092 # (filesystem-based repos only) if the catalog is corrupted.
1094 part = cat.get_part("catalog.attrs")
1101 # Should fail, since catalog is corrupt.
1104 # Should fail, because --no-catalog was specified.
1105 self.pkgrepo("rebuild -s {0} --no-catalog".format(repo_path), exit=1)
1110 # Should succeed now that catalog is valid.
1183 # Now publish a new package and refresh again with --no-catalog,
1185 # just published package shouldn't be found in the catalog or
1192 self.pkgrepo("refresh -s {0} --no-catalog".format(repo_uri))
1209 # Store time all packages in catalog were added.
1212 ulog = pkg.catalog.CatalogUpdate(uname, meta_root=cat.meta_root)
1218 # are now visible in the catalog and that refresh was
1227 # Get time all packages in catalog were added.
1230 ulog = pkg.catalog.CatalogUpdate(uname, meta_root=cat.meta_root)
1255 # Create a repository, add a publisher, remove its catalog,
1515 # longer exist in the catalog, but do exist in the catalog's
1526 ulog = pkg.catalog.CatalogUpdate(name,
3171 # make sure the package no longer appears in the catalog
3728 self.assertTrue("catalog" in self.output)
3788 "catalog": {"+": "replaced",
3794 output["common_pubs"][0]["catalog"]["+"] = "replaced"
3795 output["common_pubs"][0]["catalog"]["-"] = "replaced"