pulp_2_tests.tests.ostree.api_v2.test_publish¶
Location: Pulp 2 Tests → Tests → pulp_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.TestCaseCreate, sync and publish an OSTree repository.
-
test_all()¶ Create, sync and publish an OSTree repository.
Verify that:
- The distributor’s
last_publishattribute isNoneafter the sync. This demonstrates thatauto_publishcorrectly defaults toFalse. - The distributor’s
last_publishattribute is notNoneafter the publish.
- The distributor’s
-