Przeglądaj źródła

latex template improved, unittest status moved to bin.

84582af
Dirk Alders 4 lat temu
rodzic
commit
5b65944774
2 zmienionych plików z 18 dodań i 1 usunięć
  1. 1
    1
      latex_doc/templates/merkblatt.tex
  2. 17
    0
      unittest_status

+ 1
- 1
latex_doc/templates/merkblatt.tex Wyświetl plik

@@ -1,4 +1,4 @@
1
-\documentclass[10pt, a4paper,oneside]{article}
1
+\documentclass[12pt, a4paper,oneside]{article}
2 2
 
3 3
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 4
 % alle benötigten Pakete werden hier eingebunden

+ 17
- 0
unittest_status Wyświetl plik

@@ -0,0 +1,17 @@
1
+#!/usr/bin/python3
2
+#
3
+
4
+import os
5
+import sys
6
+MY_PATH = os.path.abspath('.')
7
+sys.path.insert(0, os.path.join(MY_PATH, 'report', 'pylibs'))
8
+
9
+import unittest
10
+import fstools
11
+
12
+
13
+module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
14
+module_pathes.sort()
15
+sys.stdout.write(unittest.module_status.module_status_head())
16
+for module_path in module_pathes:
17
+    sys.stdout.write(unittest.module_status.module_status_line(module_path))

Ładowanie…
Anuluj
Zapisz