pulp_smash.tests.pulp2.ostree.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.pulp2.ostree.utils

Utilities for interacting with OS tree.

pulp_smash.tests.pulp2.ostree.utils.gen_distributor()

Return a semi-random dict for use in creating an OSTree distributor.

For more information, see the generic repository CRUD documentation and the OSTree distributor configuration documentation.

pulp_smash.tests.pulp2.ostree.utils.gen_repo()

Return a semi-random dict for use in creating an OSTree repository.

pulp_smash.tests.pulp2.ostree.utils.set_up_module()

Skip tests if Pulp 2 isn’t under test or if OSTree isn’t installed.