From d08081ae02ee772b2576872822c702e31c430870 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 23 Jul 2023 11:34:30 +0200 Subject: Improve test output --- check | 6 +++--- unittest.cfg | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 unittest.cfg 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 -- cgit v1.2.3