pulp_2_tests.tests.ostree.utils

Location: Pulp 2 TestsTestspulp_2_tests.tests.ostree.utils

Utilities for interacting with OS tree.

pulp_2_tests.tests.ostree.utils.gen_distributor(**kwargs)

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_2_tests.tests.ostree.utils.gen_repo(**kwargs)

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

pulp_2_tests.tests.ostree.utils.set_up_module()

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