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.
This commit is contained in:
Maxim Cournoyer 2022-04-20 01:14:57 -04:00
parent faa49ec88d
commit 075dbc8734
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -24,7 +24,7 @@
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
@ -351,14 +351,10 @@ (define-public python-keyring
(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