guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: Add python-pytest-cram.


From: guix-commits
Subject: 03/07: gnu: Add python-pytest-cram.
Date: Fri, 8 Jul 2022 12:42:12 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit e56b07663c5f6e174a85309f2d00194d38cae782
Author: Ricardo Wurmus <rekado@elephly.net>
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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]