summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 17:35:05 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 17:46:26 +0000
commitf4f98591f62b4bfc92998e1ca6c6a97f0b51635a (patch)
tree0464d81bdeac1419abf49948152f94dfd3c92854 /gnu/packages/python-check.scm
parent0c46bd269790e177392461225191c8776fe2943b (diff)
gnu: Add python-pytest-cases.
* gnu/packages/python-check.scm (python-pytest-cases): New variable. Change-Id: I189c3230816b144ebc8f5bd0044eb37c4b50d113
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 27713a7f77d..b1bc149d17a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2189,6 +2189,36 @@ rounds that are calibrated to the chosen timer.")
Python code formatter \"black\".")
(license license:expat)))
+(define-public python-pytest-cases
+ (package
+ (name "python-pytest-cases")
+ (version "3.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_cases" version))
+ (sha256
+ (base32 "13vzivzca36g3rbz3k3zny7jqv35vsl2z0fl32ik3j95npqq3qf4"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest-asyncio
+ python-pytest-bootstrap
+ python-pytest-harvest
+ python-pytest-steps
+ python-setuptools
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-decopatch
+ python-makefun
+ python-packaging))
+ (home-page "https://github.com/smarie/python-pytest-cases")
+ (synopsis "Separate test code from test cases in pytest.")
+ (description
+ "This package provides a Pytest plugin which leverages
+@code{@@pytest.mark.parametrize} decorator separating test cases from test
+functions.")
+ (license license:bsd-3)))
+
(define-public python-pytest-celery
(package
(name "python-pytest-celery")