pulp_smash.tests.ostree.api_v2.test_publish

Location: Pulp SmashAPI Documentationpulp_smash.tests.ostree.api_v2.test_publish

Tests that publish OSTree repositories.

class pulp_smash.tests.ostree.api_v2.test_publish.PublishTestCase(methodName='runTest')

Create, sync and publish an OSTree repository.

test_all()

Create, sync and publish an OSTree repository.

Verify that:

  • The distributor’s last_publish attribute is None after the sync. This demonstrates that auto_publish correctly defaults to False.
  • The distributor’s last_publish attribute is not None after the publish.