Beispiel #1
0
def set_up_module():
    """Conditions to skip tests.

    Skip tests if not testing Pulp 3, or if either pulpcore or pulp_file
    aren't installed.
    """
    require_pulp_3(SkipTest)
    require_pulp_plugins({'pulpcore', 'pulp_file'}, SkipTest)
Beispiel #2
0
def set_up_module():
    """Conditions to skip tests.

    Skip tests if not testing Pulp 3, or if either pulpcore or pulp_file
    aren't installed.
    """
    require_pulp_3(SkipTest)
    require_pulp_plugins({"core", "file"}, SkipTest)
Beispiel #3
0
def setUpModule():
    """Conditions to skip tests.

    Skip tests if not testing Pulp 3, or if either pulpcore, pulp_file
    or pulp_rpm aren't installed.

    refer :meth:`pulpcore.tests.functional.api.using_plugin.utils.set_up_module`
    """
    set_up_module()
    require_pulp_plugins({'pulp_rpm'}, SkipTest)
Beispiel #4
0
def set_up_module():
    """Skip tests Pulp 3 isn't under test or if pulp-file isn't installed."""
    require_pulp_3(SkipTest)
    require_pulp_plugins({'pulp_file'}, SkipTest)
Beispiel #5
0
def set_up_module():
    """Skip tests Pulp 3 isn't under test or if pulp_ansible isn't installed."""
    require_pulp_3(unittest.SkipTest)
    require_pulp_plugins({"pulp_ansible"}, unittest.SkipTest)
Beispiel #6
0
def set_up_module():
    """Skip tests Pulp 3 isn't under test or if pulp_deb isn't installed."""
    require_pulp_3(SkipTest)
    require_pulp_plugins({"pulp_deb"}, SkipTest)
Beispiel #7
0
def set_up_module():
    """Skip tests Pulp 3 isn't under test or if pulp_rpm isn't installed."""
    require_pulp_3(SkipTest)
    require_pulp_plugins({'pulp_rpm'}, SkipTest)
Beispiel #8
0
def set_up_module():
    """
    Skip tests Pulp 3 isn't under test or if pulp-python isn't installed.
    """
    utils.require_pulp_3(SkipTest)
    utils.require_pulp_plugins({'pulp_python'}, SkipTest)
Beispiel #9
0
def set_up_module():
    """
    Skip tests Pulp 3 isn't under test or if pulp-python isn't installed.
    """
    utils.require_pulp_3(SkipTest)
    utils.require_pulp_plugins({'pulp_python'}, SkipTest)
Beispiel #10
0
def set_up_module():
    """Skip tests Pulp 3 isn't under test or if galaxy_ng isn't installed."""
    require_pulp_3(SkipTest)
    require_pulp_plugins({"galaxy_ng"}, SkipTest)