bin/unittest_status
2021-08-26 10:19:44 +02:00

18 lines
436 B
Python
Executable File

#!/home/dirk/bin/venv/bin/python
#
import os
import sys
MY_PATH = os.path.abspath('.')
sys.path.insert(0, os.path.join(MY_PATH, 'report', 'pylibs'))
import unittest
import fstools
module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
module_pathes.sort()
sys.stdout.write(unittest.module_status.module_status_head())
for module_path in module_pathes:
sys.stdout.write(unittest.module_status.module_status_line(module_path))