A bin folder, holding helpfull scripts and commands
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

unittest_status 515B

123456789101112131415161718
  1. #!/home/dirk/bin/venv/bin/python
  2. #
  3. import os
  4. import sys
  5. MY_PATH = os.path.abspath('.')
  6. sys.path.insert(0, os.path.join(MY_PATH, 'report', 'pylibs'))
  7. import unittest
  8. import fstools
  9. module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
  10. module_pathes.sort()
  11. sys.stdout.write(unittest.module_status.module_status_head())
  12. for module_path in module_pathes:
  13. if not os.path.basename(module_path) in ['.git', 'eclipse-workspace']:
  14. sys.stdout.write(unittest.module_status.module_status_line(module_path))