aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2023-07-23 11:34:30 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2023-07-23 11:34:30 +0200
commitd08081ae02ee772b2576872822c702e31c430870 (patch)
treeb22d470784dd5bbe7f590620af100027da014b69
parentef6bd01d5dddc184ca27462648713925839030fe (diff)
Improve test output
-rwxr-xr-xcheck6
-rw-r--r--unittest.cfg2
2 files changed, 5 insertions, 3 deletions
diff --git a/check b/check
index 45b03c8..cae21d5 100755
--- a/check
+++ b/check
@@ -17,11 +17,11 @@ shift 1
case $SUBCMD in
"tests")
- nose2-3 $COVER_OPT --log-level=ERROR -B --log-capture $*
+ nose2-3 $COVER_OPT --log-level ERROR -B --log-capture $*
;;
"coverage")
- nose2-3 --with-coverage --coverage-report=term \
- --log-level=ERROR -B --log-capture $*
+ nose2-3 --with-coverage --coverage-report=term-missing \
+ --log-level ERROR -B --log-capture $*
;;
"qa")
flake8 --select=E,F,W,C90,E123 --ignore=W503 .
diff --git a/unittest.cfg b/unittest.cfg
new file mode 100644
index 0000000..7b30780
--- /dev/null
+++ b/unittest.cfg
@@ -0,0 +1,2 @@
+[log-capture]
+clear-handlers = True