pulp_2_tests.tests.ostree.api_v2.test_publish

Location: Pulp 2 TestsTestspulp_2_tests.tests.ostree.api_v2.test_publish

Tests that publish OSTree repositories.

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

Bases: unittest.case.TestCase

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.