root: make testing output more consistent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
7c9f821bfd
commit
75724b6f8d
6
Makefile
6
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Reference in a new issue