pulp_smash.tests.pulp3.file.api_v3.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.pulp3.file.api_v3.utils

Utilities for file plugin tests.

pulp_smash.tests.pulp3.file.api_v3.utils.gen_publisher(**kwargs)

Return a semi-random dict for use in creating a publisher.

pulp_smash.tests.pulp3.file.api_v3.utils.get_content_unit_paths(repo)

Return the relative path of content units present in a file repository.

Parameters:repo – A dict of information about the repository.
Returns:A list with the paths of units present in a given repository.