Exemplo n.º 1
0
def test_is_active(group_names, is_active):
    task_vars = dict(group_names=group_names, )
    assert DiskAvailability.is_active(task_vars=task_vars) == is_active
def test_is_active(group_names, is_containerized, is_active):
    task_vars = dict(
        group_names=group_names,
        openshift=dict(common=dict(is_containerized=is_containerized)),
    )
    assert DiskAvailability.is_active(task_vars=task_vars) == is_active
def test_is_active(group_names, is_active):
    task_vars = dict(
        group_names=group_names,
    )
    assert DiskAvailability.is_active(task_vars=task_vars) == is_active
def test_is_active(group_names, is_containerized, is_active):
    task_vars = dict(
        group_names=group_names,
        openshift=dict(common=dict(is_containerized=is_containerized)),
    )
    assert DiskAvailability.is_active(task_vars=task_vars) == is_active