<commit_before># -*- coding: utf-8 -*-

"""
:maintainer:    <NAME> <<EMAIL>>
:platform:      Linux
"""
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals

import pytest

import salt.states.btrfs as btrfs
import salt.utils.platform
from salt.exceptions import CommandExecutionError

# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.mock import MagicMock, patch
from tests.support.unit import TestCase, skipIf


class BtrfsTestCase(TestCase, LoaderModuleMockMixin):
    """
    Test cases for salt.states.btrfs
    """

    def setup_loader_modules(self):
        return {btrfs: {"__salt__": {}, "__states__": {}, "__utils__": {}}}
<commit_msg>btrfs: drop testing support on Windows<commit_after># -*- coding: utf-8 -*-

"""
:maintainer:    <NAME> <<EMAIL>>
:platform:      Linux
"""
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals

import pytest
import salt.states.btrfs as btrfs
import salt.utils.platform
from salt.exceptions import CommandExecutionError

# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.mock import MagicMock, patch
from tests.support.unit import TestCase, skipIf


@skipIf(salt.utils.platform.is_windows(), "Non-Windows feature")
class BtrfsTestCase(TestCase, LoaderModuleMockMixin):
    """
    Test cases for salt.states.btrfs
    """

    def setup_loader_modules(self):
        return {btrfs: {"__salt__": {}, "__states__": {}, "__utils__": {}}}

{'fraction_non_alphanumeric': 0.11324376199616124, 'fraction_numerical': 0.0012795905310300703, 'mean_word_length': 4.792592592592593, 'pattern_counts': {'":': 6, '<': 9, '<?xml version=': 0, '>': 9, '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': '7226087', 'n_tokens_mistral': 471, 'n_tokens_neox': 474, 'n_words': 130}