mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-23 10:40:31 +02:00
gnu: python-flask: Honor #:tests in check phase.
* gnu/packages/python-web.scm (python-flask)[arguments]: Honor #:tests flag.
This commit is contained in:
@@ -2943,8 +2943,9 @@ minimum of WSGI.")
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "pytest" "-vv" "tests"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "tests")))))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(propagated-inputs
|
||||
|
||||
Reference in New Issue
Block a user