From 075dbc8734dcfc5843330f7efddc733afb746ace Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 20 Apr 2022 01:14:57 -0400 Subject: gnu: python-keyring: Fix test suite. [phases]{check}: Provide the tests directory argument to pytest. Ignore project pytest configs and make it verbose. [native-inputs]: Delete python-pytest-checkdocs, python-pytest-cov and python-pytest-flake8. --- gnu/packages/python-crypto.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 08b86335c0..60879f1c52 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -24,7 +24,7 @@ ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Justus Winter ;;; Copyright © 2020, 2021 Vinicius Monego -;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. @@ -351,14 +351,10 @@ do what is needed for client/server Kerberos authentication based on (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest")) - #t))))) + (invoke "pytest" "-vv" "-c" "/dev/null" "tests"))))))) (native-inputs (list python-toml python-pytest - python-pytest-checkdocs - python-pytest-cov - python-pytest-flake8 python-setuptools python-setuptools-scm)) (propagated-inputs -- cgit v1.2.3