<commit_before>#!/usr/bin/env python
# coding: utf-8

"""Run the end to end tests of the project."""

__author__ = "<NAME>"
__license__ = "MIT"
__copyright__ = "2020"
__date__ = "11/07/2020"

import sys
import unittest
import e2etest_freesas, e2etest_guinier_apps, e2etest_bift


def suite():
    """Creates suite for e2e tests"""
    test_suite = unittest.TestSuite()
    test_suite.addTest(e2etest_freesas.suite())
    test_suite.addTest(e2etest_guinier_apps.suite())
    test_suite.addTest(e2etest_bift.suite())
    return test_suite


if __name__ == "__main__":
    runner = unittest.TextTestRunner()
    result = runner.run(suite())

    if result.wasSuccessful():
        EXIT_STATUS = 0
    else:
        EXIT_STATUS = 1

    sys.exit(EXIT_STATUS)
<commit_msg>Add cormapy test suite to e2e test suite<commit_after>#!/usr/bin/env python
# coding: utf-8

"""Run the end to end tests of the project."""

__author__ = "<NAME>"
__license__ = "MIT"
__copyright__ = "2020"
__date__ = "11/07/2020"

import sys
import unittest
import e2etest_freesas, e2etest_guinier_apps, e2etest_bift, e2etest_cormap


def suite():
    """Creates suite for e2e tests"""
    test_suite = unittest.TestSuite()
    test_suite.addTest(e2etest_freesas.suite())
    test_suite.addTest(e2etest_guinier_apps.suite())
    test_suite.addTest(e2etest_bift.suite())
    test_suite.addTest(e2etest_cormap.suite())
    return test_suite


if __name__ == "__main__":
    runner = unittest.TextTestRunner()
    result = runner.run(suite())

    if result.wasSuccessful():
        EXIT_STATUS = 0
    else:
        EXIT_STATUS = 1

    sys.exit(EXIT_STATUS)

{'fraction_non_alphanumeric': 0.11761083743842364, 'fraction_numerical': 0.02894088669950739, 'mean_word_length': 3.9542682926829267, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '5678471', 'n_tokens_mistral': 627, 'n_tokens_neox': 601, 'n_words': 125}