<commit_before># -*- coding: utf-8 -*-
'''
    :codauthor: :email:`<NAME> <<EMAIL>>`
'''

# Import Salt Testing libs
from salttesting.helpers import (ensure_in_syspath, destructiveTest)
from salttesting.mock import MagicMock, patch
ensure_in_syspath('../')

# Import salt libs
import integration
from salt import fileclient

# Import Python libs
import os


class FileClientTest(integration.ModuleCase):

    def setUp(self):
        self.file_client = fileclient.Client(self.master_opts)<commit_msg>Remove unused imports & Skip if no mock available<commit_after># -*- coding: utf-8 -*-
'''
    :codauthor: :email:`<NAME> <<EMAIL>>`
'''

# Import Salt Testing libs
from salttesting.unit import skipIf
from salttesting.helpers import ensure_in_syspath
from salttesting.mock import MagicMock, patch, NO_MOCK, NO_MOCK_REASON
ensure_in_syspath('../')

# Import salt libs
import integration
from salt import fileclient


@skipIf(NO_MOCK, NO_MOCK_REASON)
class FileClientTest(integration.ModuleCase):

    def setUp(self):
        self.file_client = fileclient.Client(self.master_opts)
{'fraction_non_alphanumeric': 0.11306765523632993, 'fraction_numerical': 0.0018535681186283596, 'mean_word_length': 5.067415730337078, 'pattern_counts': {'":': 0, '<': 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': '3426819', 'n_tokens_mistral': 353, 'n_tokens_neox': 339, 'n_words': 90}