diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2023-12-28 21:13:26 -0500 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-12-28 21:13:26 -0500 |
commit | 92227248a616a9555200a48b1e4f1768a462556b (patch) | |
tree | 2e5bc472b5169742a4a5ffe5971ceb8be780970f /gnu/packages/python-check.scm | |
parent | bdab356332e391e09d0feafe0fcac9c52388a07d (diff) | |
parent | 7722da6fa5422c4fec69d6c8b9536c7d6fc3d326 (diff) |
Merge branch 'master' into mesa-updates
Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r-- | gnu/packages/python-check.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ea74472270..f02ca10298 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -583,6 +583,38 @@ data arrays produced during tests, in particular in cases where the arrays are too large to conveniently hard-code them in the tests.") (license license:bsd-3))) +(define-public python-pytest-cookies + (package + (name "python-pytest-cookies") + (version "0.7.0") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/hackebrot/pytest-cookies") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x7ny6mx1siy9law1cv1i63nvv9ds2g1dlagm40l8qymxry43mjn")))) + (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (native-inputs (list python-pytest)) + (propagated-inputs (list python-cookiecutter)) + (home-page "https://github.com/hackebrot/pytest-cookies") + (synopsis "Pytest plugin for Cookiecutter templates") + (description + "This Pytest plugin adds a @code{cookies} fixture, which is a +wrapper for the Cookiecutter API. This fixture helps you verify that +your template is working as expected and takes care of cleaning up after +running the tests.") + (license license:expat))) + (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") |