mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 05:09:33 -05:00
gnu: python-openid: Honor the #:tests? flag.
* gnu/packages/python-web.scm (python-openid)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
80c48a2a93
commit
a3b80bc6fb
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
|
||||
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
|
||||
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
|
||||
|
@ -1423,9 +1423,10 @@ (define-public python-openid
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "coverage" "run" "-m"
|
||||
"unittest" "openid.test.test_suite"))))))
|
||||
"unittest" "openid.test.test_suite")))))))
|
||||
(propagated-inputs
|
||||
(list python-defusedxml))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue