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 all: lint-fix lint test gen
test-integration: test-integration:
coverage run manage.py test -v 3 tests/integration coverage run manage.py test tests/integration
test-e2e: test-e2e:
coverage run manage.py test --failfast -v 3 tests/e2e coverage run manage.py test --failfast tests/e2e
test: test:
coverage run manage.py test -v 3 authentik coverage run manage.py test authentik
coverage html coverage html
coverage report coverage report

View File

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