pulp_smash.tests.puppet.api_v2.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.puppet.api_v2.utils

Utility functions for Puppet API tests.

pulp_smash.tests.puppet.api_v2.utils.gen_distributor()

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

pulp_smash.tests.puppet.api_v2.utils.gen_install_distributor()

Return a semi-random dict used for creating a Puppet install distributor.

The caller must fill the install_path distributor_config option otherwise Pulp will throw an error when creating the distributor.

pulp_smash.tests.puppet.api_v2.utils.gen_repo()

Return a semi-random dict that used for creating a puppet repo.