pulp_smash.tests.rpm.api_v2.test_republish

Location: Pulp SmashAPI Documentationpulp_smash.tests.rpm.api_v2.test_republish

Test re-publish repository after unassociating content.

Following steps are executed in order to test correct functionality of repository created with valid feed.

  1. Create repository foo with valid feed, run sync, add distributor to it and publish over http and https.
  2. Pick a unit X and and assert it is accessible.
  3. Remove unit X from repository foo and re-publish.
  4. Assert unit X is not accessible.
class pulp_smash.tests.rpm.api_v2.test_republish.RepublishTestCase(methodName='runTest')

Test re-publish repository after unassociating content.

test_all()

Create one repository with feed, unassociate unit and re-publish.

Following steps are executed:

  1. Create, sync and publish a repository.
  2. Pick a content unit from the repository and verify it can be downloaded.
  3. Remove the content unit from the repository, re-publish, and verify it can’t be downloaded.