guix-commits
[Top][All Lists]
Advanced

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

55/150: gnu: Add python-pytest-expect.


From: guix-commits
Subject: 55/150: gnu: Add python-pytest-expect.
Date: Sun, 24 Apr 2022 05:12:22 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit e5496299388a2eaa912443fb8a45894e6722f0e5
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Dec 30 09:52:15 2021 +0100

    gnu: Add python-pytest-expect.
    
    * gnu/packages/python-check.scm (python-pytest-expect): New variable.
---
 gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2172283635..79c9630cb6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2054,3 +2054,31 @@ eliminate flaky failures.")
 Python objects.  It tries to use the objects available in the standard
 @code{unittest} module.")
     (license license:expat)))
+
+(define-public python-pytest-expect
+  (package
+    (name "python-pytest-expect")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pytest-expect" version))
+        (sha256
+          (base32
+            "0iyq3zd1g5ffaz2wv6mskjfn84sfbyh0j209glcrh1s50hkldd1n"))))
+    (build-system python-build-system)
+    (arguments `(#:tests? #f)) ; no tests via pypi
+    (propagated-inputs
+      (list python-pytest ; package declares this dependency
+            python-u-msgpack))
+    (home-page
+      "https://github.com/gsnedders/pytest-expect";)
+    (synopsis
+      "Py.test plugin to store test expectations and mark tests based on them")
+    (description
+      "A py.test plugin that stores test expectations by saving the set of
+failing tests, allowing them to be marked as xfail when running them in future.
+The tests expectations are stored such that they can be distributed alongside
+the tests.")
+    (license license:expat)))
+



reply via email to

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