<commit_before>import unittest
import single_db_create_env
import single_db_open_exist_env
import single_db_create_env_load_u32
import single_db_open_exist_env_read_u32
 

if __name__ == '__main__':
    unittest.main()<commit_msg>add test suite<commit_after>import unittest

testmodules = [
    'single_db_create_env'
   ,'single_db_create_env_load_u32'
   ,'single_db_open_exist_env'
   ,'single_db_open_exist_env_read_u32'
    ]

suite = unittest.TestSuite()

for t in testmodules:
    try:
        mod = __import__(t, globals(), locals(), ['suite'])
        suitefn = getattr(mod, 'suite')
        suite.addTest(suitefn())
    except (ImportError, AttributeError):
        suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t))

unittest.TextTestRunner().run(suite)


{'fraction_non_alphanumeric': 0.09768637532133675, 'fraction_numerical': 0.010282776349614395, 'mean_word_length': 5.0859375, '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': '2221217', 'n_tokens_mistral': 278, 'n_tokens_neox': 267, 'n_words': 43}