From 75724b6f8d7c8d8b69c50ef12596a9e72c51dd3d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 23 Nov 2021 23:46:27 +0100 Subject: [PATCH] root: make testing output more consistent Signed-off-by: Jens Langhammer --- Makefile | 6 +++--- authentik/root/test_runner.py | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index e3e7e01ce..9809471ab 100644 --- a/Makefile +++ b/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 diff --git a/authentik/root/test_runner.py b/authentik/root/test_runner.py index 3033cb90a..8af38df32 100644 --- a/authentik/root/test_runner.py +++ b/authentik/root/test_runner.py @@ -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: