gnu: python-flask: Honor #:tests in check phase.
* gnu/packages/python-web.scm (python-flask)[arguments]: Honor #:tests flag.
This commit is contained in:
parent
60c9828933
commit
830a47e85d
1 changed files with 3 additions and 2 deletions
|
@ -2943,8 +2943,9 @@ minimum of WSGI.")
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest" "-vv" "tests"))))))
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv" "tests")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in a new issue