mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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>
This commit is contained in:
parent
32135392dd
commit
9660c2f158
1 changed files with 5 additions and 4 deletions
|
@ -3426,10 +3426,11 @@ (define-public python-s3transfer
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Some of the 'integration' tests require network access or
|
||||
;; login credentials.
|
||||
(invoke "nosetests" "--exclude=integration"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; Some of the 'integration' tests require network access or
|
||||
;; login credentials.
|
||||
(invoke "nosetests" "--exclude=integration")))))))
|
||||
(native-inputs
|
||||
`(("python-docutils" ,python-docutils)
|
||||
("python-mock" ,python-mock)
|
||||
|
|
Loading…
Reference in a new issue