~ruther/guix-local

9660c2f158f296dc162fd08d08c770095a102b2a — Vinicius Monego 4 years ago 3213539
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>
1 files changed, 5 insertions(+), 4 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +5 -4
@@ 3426,10 3426,11 @@ Betamax that may possibly end up in the main package.")
     `(#: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)