root: make testing output more consistent

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-23 23:46:27 +01:00
parent 7c9f821bfd
commit 75724b6f8d
2 changed files with 4 additions and 10 deletions

View file

@ -7,13 +7,13 @@ NPM_VERSION = $(shell python -m scripts.npm_version)
all: lint-fix lint test gen
test-integration:
coverage run manage.py test -v 3 tests/integration
coverage run manage.py test tests/integration
test-e2e:
coverage run manage.py test --failfast -v 3 tests/e2e
coverage run manage.py test --failfast tests/e2e
test:
coverage run manage.py test -v 3 authentik
coverage run manage.py test authentik
coverage html
coverage report

View file

@ -28,13 +28,7 @@ class PytestTestRunner: # pragma: no cover
"""
import pytest
argv = []
if self.verbosity == 0:
argv.append("--quiet")
if self.verbosity == 2:
argv.append("--verbose")
if self.verbosity == 3:
argv.append("-vv")
argv = ["-vv"]
if self.failfast:
argv.append("--exitfirst")
if self.keepdb: