gnu: python-s3transfer: Honor #:tests? flag.
* gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
32135392dd
commit
9660c2f158
|
@ -3426,10 +3426,11 @@ Betamax that may possibly end up in the main package.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
;; Some of the 'integration' tests require network access or
|
;; Some of the 'integration' tests require network access or
|
||||||
;; login credentials.
|
;; login credentials.
|
||||||
(invoke "nosetests" "--exclude=integration"))))))
|
(invoke "nosetests" "--exclude=integration")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-docutils" ,python-docutils)
|
`(("python-docutils" ,python-docutils)
|
||||||
("python-mock" ,python-mock)
|
("python-mock" ,python-mock)
|
||||||
|
|
Reference in New Issue