pulp_smash.tests.rpm.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.rpm.utils

Utilities for RPM tests.

pulp_smash.tests.rpm.utils.check_issue_2277(cfg)

Return true if Pulp #2277 affects the targeted Pulp system.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – The Pulp system under test.
pulp_smash.tests.rpm.utils.check_issue_2354(cfg)

Return true if Pulp #2354 affects the targeted Pulp system.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – The Pulp system under test.
pulp_smash.tests.rpm.utils.check_issue_2387(cfg)

Return true if Pulp #2387 affects the targeted Pulp system.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – The Pulp system under test.
pulp_smash.tests.rpm.utils.check_issue_2620(cfg)

Return true if Pulp #2620 affects the targeted Pulp system.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – The Pulp system under test.
pulp_smash.tests.rpm.utils.check_issue_2798(cfg)

Return true if Pulp #2798 affects the targeted Pulp system.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – The Pulp system under test.
pulp_smash.tests.rpm.utils.os_is_rhel6(cfg)

Return True if the server runs RHEL 6, or False otherwise.

Parameters:cfg (pulp_smash.config.PulpSmashConfig) – Information about the system being targeted.
Returns:True or false.
pulp_smash.tests.rpm.utils.set_up_module()

Skip tests if the RPM plugin is not installed.

See pulp_smash.tests for more information.