<commit_before>#! /usr/bin/env python3.5
import os
import unittest


class TestValidateMatchboxAssets(unittest.TestCase):
    cwd = os.path.dirname(os.path.abspath(__file__))
    matchbox = os.getenv("CHECK_MATCHBOX_PATH", "%s/matchbox" % cwd)
    assets = "%s/assets" % matchbox

    def test_coreos(self):
        rule = "%s/%s/serve" % (self.assets, self.test_coreos.__name__.replace("test_", ""))
        list_dir = os.listdir(rule)
        self.assertIn("coreos_production_pxe.vmlinuz", list_dir)
        self.assertIn("coreos_production_pxe_image.cpio.gz", list_dir)

    def test_discoveryC(self):
        rule = "%s/%s/serve" % (self.assets, self.test_discoveryC.__name__.replace("test_", ""))
        list_dir = os.listdir(rule)
        self.assertIn("discoveryC", list_dir)


if __name__ == '__main__':
    unittest.main()<commit_msg>Only validate the discoveryC<commit_after>#! /usr/bin/env python3.5
import os
import unittest


class TestValidateMatchboxAssets(unittest.TestCase):
    cwd = os.path.dirname(os.path.abspath(__file__))
    matchbox = os.getenv("CHECK_MATCHBOX_PATH", "%s/matchbox" % cwd)
    assets = "%s/assets" % matchbox

    def test_discoveryC(self):
        rule = "%s/%s/serve" % (self.assets, self.test_discoveryC.__name__.replace("test_", ""))
        list_dir = os.listdir(rule)
        self.assertIn("discoveryC", list_dir)


if __name__ == '__main__':
    unittest.main()
{'fraction_non_alphanumeric': 0.14893617021276595, 'fraction_numerical': 0.0028368794326241137, 'mean_word_length': 3.8487972508591066, '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': '4062332', 'n_tokens_mistral': 510, 'n_tokens_neox': 495, 'n_words': 78}