mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
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:
parent
faa49ec88d
commit
075dbc8734
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue