pulp_2_tests.tests.puppet.api_v2.utils¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.puppet.api_v2.utils
Utility functions for Puppet API tests.
-
pulp_2_tests.tests.puppet.api_v2.utils.
gen_distributor
(**kwargs)¶ Return a semi-random dict for use in creating a Puppet distributor.
-
pulp_2_tests.tests.puppet.api_v2.utils.
gen_install_distributor
(**kwargs)¶ 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_2_tests.tests.puppet.api_v2.utils.
gen_repo
(**kwargs)¶ Return a semi-random dict that used for creating a puppet repo.