me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 2 additions and 6 deletions

View File

@ -24,7 +24,7 @@
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org> ;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> ;;; 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> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -351,14 +351,10 @@ do what is needed for client/server Kerberos authentication based on
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "pytest")) (invoke "pytest" "-vv" "-c" "/dev/null" "tests")))))))
#t)))))
(native-inputs (native-inputs
(list python-toml (list python-toml
python-pytest python-pytest
python-pytest-checkdocs
python-pytest-cov
python-pytest-flake8
python-setuptools python-setuptools
python-setuptools-scm)) python-setuptools-scm))
(propagated-inputs (propagated-inputs