rekado pushed a commit to branch master
in repository guix.
commit e56b07663c5f6e174a85309f2d00194d38cae782
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Jul 7 14:55:34 2022 +0200
gnu: Add python-pytest-cram.
* gnu/packages/python-check.scm (python-pytest-cram): New variable.
---
gnu/packages/python-check.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 14be55054f..af0e5be28b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -127,6 +127,26 @@ written in pure Python.")
interfaces with pytest.")
(license license:expat)))
+(define-public python-pytest-cram
+ (package
+ (name "python-pytest-cram")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-cram" version))
+ (sha256
+ (base32
+ "0405ymmrsv6ii2qhq35nxfjkb402sdb6d13xnk53jql3ybgmiqq0"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-cram python-pytest))
+ (home-page "https://github.com/tbekolay/pytest-cram")
+ (synopsis "Run cram tests with pytest.")
+ (description "Cram tests command line applications; Pytest tests Python
+applications. @code{pytest-cram} tests Python command line applications by
+letting you write your Python API tests with pytest, and your command line
+tests in cram.")
+ (license license:expat)))
+
(define-public python-pytest-csv
(package
(name "python-pytest-csv")