pulp_2_tests.tests.rpm.cli.utils¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.cli.utils
Utility functions for RPM CLI tests.
-
pulp_2_tests.tests.rpm.cli.utils.
count_langpacks
(cfg, repo_id)¶ Tell how many langpack content units are in the given repository.
Parameters: - cfg – Information about the Pulp deployment being targeted.
- repo_id – A repository ID.
Returns: The number of langpacks in the named repository, as an integer.