pulp_2_tests.tests.platform.utils¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.platform.utils
Utilities for platform tests.
-
pulp_2_tests.tests.platform.utils.
require_selinux
()¶ Test if selinux is disabled in config.
Note: We expect selinux tests are always run. However some test environments (such as OSX + Container) selinux is unsupported. Tests should be skipped in this case. See
pulp_smash.config.PulpSmashConfig
.
-
pulp_2_tests.tests.platform.utils.
set_up_module
()¶ Skip tests if Pulp 2 isn’t under test.