update for status table generation
This commit is contained in:
parent
4feeae329c
commit
6f7f2bd847
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -46,3 +46,6 @@
|
|||||||
[submodule "__scripts__/report"]
|
[submodule "__scripts__/report"]
|
||||||
path = __scripts__/report
|
path = __scripts__/report
|
||||||
url = https://git.mount-mockery.de/pylib/report.git
|
url = https://git.mount-mockery.de/pylib/report.git
|
||||||
|
[submodule "__scripts__/rspec"]
|
||||||
|
path = __scripts__/rspec
|
||||||
|
url = https://git.mount-mockery.de/pylib/rspec.git
|
||||||
|
16
__scripts__/.vscode/launch.json
vendored
Normal file
16
__scripts__/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
// Verwendet IntelliSense zum Ermitteln möglicher Attribute.
|
||||||
|
// Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen.
|
||||||
|
// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Python: Main File execution",
|
||||||
|
"type": "python",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/unittest_status",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"justMyCode": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
14
__scripts__/.vscode/settings.json
vendored
Normal file
14
__scripts__/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"python.defaultInterpreterPath": "./venv/bin/python",
|
||||||
|
"autopep8.args": ["--max-line-length=150"],
|
||||||
|
"[python]": {
|
||||||
|
"python.formatting.provider": "none",
|
||||||
|
"editor.defaultFormatter": "ms-python.autopep8",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"editor.fontSize": 14,
|
||||||
|
"emmet.includeLanguages": { "django-html": "html" },
|
||||||
|
"python.testing.pytestArgs": ["-v", "--cov", "--cov-report=xml", "__test__"],
|
||||||
|
"python.testing.unittestEnabled": false,
|
||||||
|
"python.testing.pytestEnabled": true
|
||||||
|
}
|
1
__scripts__/rspec
Submodule
1
__scripts__/rspec
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 871ea528c0bc9e686a5c0fa4936a2ed715a5b54e
|
@ -1 +1 @@
|
|||||||
Subproject commit 874af7b6427c53b4a9c729401febd1a0be0a47c8
|
Subproject commit 2739e4ce18a94bb5bdea971edc21fd7dc9b10e3c
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
MY_PATH = os.path.abspath('.')
|
|
||||||
sys.path.insert(0, os.path.join(MY_PATH, 'report', 'pylibs'))
|
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
import fstools
|
import fstools
|
||||||
|
|
||||||
|
BASEPATH = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
|
|
||||||
|
module_pathes = fstools.dirlist(os.path.join(BASEPATH, '..'), rekursive=False)
|
||||||
module_pathes.sort()
|
module_pathes.sort()
|
||||||
sys.stdout.write(unittest.module_status.module_status_head())
|
sys.stdout.write(unittest.module_status.module_status_head())
|
||||||
for module_path in module_pathes:
|
for module_path in module_pathes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user