<commit_before>import fnmatch
import re

import pytest
from tests.support.helpers import slowTest


@slowTest
@pytest.mark.windows_whitelisted
def test_valid_docs(salt_call_cli):
    """
    Make sure no functions are exposed that don't have valid docstrings
    """

    allow_failure = (
        "cmd.win_runas",
        "cp.recv",
        "cp.recv_chunked",
        "glance.warn_until",
        "ipset.long_range",
        "libcloud_compute.get_driver",
        "libcloud_dns.get_driver",
        "libcloud_loadbalancer.get_driver",
        "libcloud_storage.get_driver",
        "log.critical",
        "log.debug",<commit_msg>Remove test from windows whitelist<commit_after>import fnmatch
import re

from tests.support.helpers import slowTest


@slowTest
def test_valid_docs(salt_call_cli):
    """
    Make sure no functions are exposed that don't have valid docstrings
    """

    allow_failure = (
        "cmd.win_runas",
        "cp.recv",
        "cp.recv_chunked",
        "glance.warn_until",
        "ipset.long_range",
        "libcloud_compute.get_driver",
        "libcloud_dns.get_driver",
        "libcloud_loadbalancer.get_driver",
        "libcloud_storage.get_driver",
        "log.critical",
        "log.debug",
{'fraction_non_alphanumeric': 0.10275080906148867, 'fraction_numerical': 0.0, 'mean_word_length': 2.794478527607362, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4765068', 'n_tokens_mistral': 403, 'n_tokens_neox': 393, 'n_words': 74}