[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag.
From: |
Vinicius Monego |
Subject: |
[bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag. |
Date: |
Fri, 5 Nov 2021 01:58:33 +0000 |
* gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
---
gnu/packages/python-web.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2953198a08..9d1ae458d3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3416,10 +3416,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)
--
2.30.2
- [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 4/8] gnu: python-s3transfer: Update to 0.5.0., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 3/8] gnu: python-cfn-lint: Honor #:tests? flag., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag.,
Vinicius Monego <=
- [bug#51396] [PATCH v2 7/8] gnu: python-moto: Update to 2.2.12., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 6/8] gnu: Update awscli, python-boto3 and python-botocore., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3., Vinicius Monego, 2021/11/04
- [bug#51396] [PATCH v2 8/8] gnu: python-moto: Honor #:tests? flag., Vinicius Monego, 2021/11/04