[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50018] [PATCH v4 03/12] gnu: Add python-pytest-subtests.
From: |
Vinicius Monego |
Subject: |
[bug#50018] [PATCH v4 03/12] gnu: Add python-pytest-subtests. |
Date: |
Sun, 19 Dec 2021 00:29:08 +0000 |
* gnu/packages/python-check.scm (python-pytest-subtests): New variable.
---
gnu/packages/python-check.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e94e2d0011..7c92252818 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -707,6 +707,33 @@ in Pytest.")
settings.")
(license license:expat)))
+(define-public python-pytest-subtests
+ (package
+ (name "python-pytest-subtests")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-subtests" version))
+ (sha256
+ (base32 "087i03nmkmfnrpc7mmizvr40ijnjw4lfxc22rnk8jk6s1szy9lav"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/pytest-dev/pytest-subtests")
+ (synopsis "Unittest subTest() support and subtests fixture")
+ (description "This Pytest plugin provides unittest @code{subTest()}
+support and @code{subtests} fixture.")
+ (license license:expat)))
+
(define-public python-pytest-vcr
;; This commit fixes integration with pytest-5
(let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05")
--
2.30.2
- [bug#50018] [PATCH v4 01/12] gnu: Add python-click-repl., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 04/12] gnu: Add python-pytest-rerunfailures., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 02/12] gnu: Add python-click-didyoumean., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 03/12] gnu: Add python-pytest-subtests.,
Vinicius Monego <=
- [bug#50018] [PATCH v4 06/12] gnu: python-billiard: Update to 3.6.4.0., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 08/12] gnu: python-celery: Enable tests., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 07/12] gnu: python-celery: Update to 5., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 05/12] gnu: Add python-pytest-celery., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 11/12] gnu: Remove python2-amqp., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 09/12] gnu: Remove python2-celery., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 10/12] gnu: Remove python2-kombu., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 12/12] gnu: Remove python2-billiard., Vinicius Monego, 2021/12/18