[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: python-keyring: Make tests skippable.
From: |
guix-commits |
Subject: |
06/09: gnu: python-keyring: Make tests skippable. |
Date: |
Mon, 15 Feb 2021 04:37:57 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit f7c966ae02b4915d968b8f9769c506b1c77a17ff
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 14 14:19:21 2021 +0200
gnu: python-keyring: Make tests skippable.
* gnu/packages/python-crypto.scm (python-keyring)[arguments]: In custom
'check phase only run tests when tests? is #true.
---
gnu/packages/python-crypto.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 9739de1..bf39f12 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -382,8 +382,10 @@ do what is needed for client/server Kerberos
authentication based on
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest"))
+ #t)))))
(native-inputs
`(("python-toml" ,python-toml)
("python-pytest" ,python-pytest)
- branch master updated (dd5e879 -> 80005d0), guix-commits, 2021/02/15
- 02/09: gnu: python-jeepney: Update to 0.6.0., guix-commits, 2021/02/15
- 01/09: gnu: python-tzlocal: Update to 2.1., guix-commits, 2021/02/15
- 05/09: gnu: python-keyring: Update to 22.0.1., guix-commits, 2021/02/15
- 06/09: gnu: python-keyring: Make tests skippable.,
guix-commits <=
- 07/09: gnu: python-pyxdg: Update to 0.27., guix-commits, 2021/02/15
- 09/09: gnu: Add openconnect-sso., guix-commits, 2021/02/15
- 04/09: gnu: Add python-structlog., guix-commits, 2021/02/15
- 03/09: gnu: python-secretstorage: Update to 3.3.1., guix-commits, 2021/02/15
- 08/09: gnu: poetry: Adjust for newer python-keyring., guix-commits, 2021/02/15