pulp_smash.tests.pulp3.pulpcore.utils

Location: Pulp SmashAPI Documentationpulp_smash.tests.pulp3.pulpcore.utils

Utilities for Pulpcore tests.

pulp_smash.tests.pulp3.pulpcore.utils.set_up_module()

Skip tests Pulp 3 isn’t under test or if pulpcore isn’t installed.

pulp_smash.tests.pulp3.pulpcore.utils.skip_if = functools.partial(<function skip_if>, exc=<class 'unittest.case.SkipTest'>)

The @skip_if decorator, customized for unittest.

pulp_smash.selectors.skip_if() is test runner agnostic. This function is identical, except that exc has been set to unittest.SkipTest.