def test_empty_wrap_list_elements(arg):
    assert wrap_list_elements(arg) == []
def test_bad_type_wrap_list_elements(arg):
    with pytest.raises(errors.AnsibleFilterError) as errorInfo:
        wrap_list_elements(arg)

    assert 'Invalid value type' in str(errorInfo.value)
def test_true_wrap_list_elements(arg):
    assert wrap_list_elements(arg) == ['"True"']