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.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 isNone
after the sync. This demonstrates thatauto_publish
correctly defaults toFalse
. - The distributor’s
last_publish
attribute is notNone
after the publish.
- The distributor’s
-