<commit_before>import unittest
from cvsgit.command.clone import clone
from os.path import dirname, join, exists
from shutil import rmtree

class Test(unittest.TestCase):

    def setUp(self):
        self.tmpdir = join(dirname(__file__), 'tmp')

    def tearDown(self):
        if exists(self.tmpdir):
            rmtree(self.tmpdir)

    def testZombieDetection(self):
        # This repository has a zombie copy of a file that was actually
        # moved to Attic.
        cvsroot = join(dirname(__file__), 'data', 'zombie')
        # TODO: Discard command output to keep the test output clean.
        self.assertEquals(clone().eval('--quiet', cvsroot, self.tmpdir), 0)
        # TODO: Verify that the correct file was picked and the zombie
        # got ignored.

if __name__ == '__main__':
    unittest.main()<commit_msg>Use unabbreviated --quiet-git option in clone test<commit_after>import unittest
from cvsgit.command.clone import clone
from os.path import dirname, join, exists
from shutil import rmtree

class Test(unittest.TestCase):

    def setUp(self):
        self.tmpdir = join(dirname(__file__), 'tmp')

    def tearDown(self):
        if exists(self.tmpdir):
            rmtree(self.tmpdir)

    def testZombieDetection(self):
        # This repository has a zombie copy of a file that was actually
        # moved to Attic.
        cvsroot = join(dirname(__file__), 'data', 'zombie')
        # TODO: Discard command output to keep the test output clean.
        self.assertEquals(clone().eval('--quiet-git', cvsroot, self.tmpdir), 0)
        # TODO: Verify that the correct file was picked and the zombie
        # got ignored.

if __name__ == '__main__':
    unittest.main()
{'fraction_non_alphanumeric': 0.09911504424778761, 'fraction_numerical': 0.0011799410029498525, 'mean_word_length': 2.971896955503513, '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': '1959061', 'n_tokens_mistral': 515, 'n_tokens_neox': 498, 'n_words': 165}