guix-commits
[Top][All Lists]
Advanced

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

52/103: gnu: Add python-pytest-expect.


From: guix-commits
Subject: 52/103: gnu: Add python-pytest-expect.
Date: Wed, 5 Jan 2022 09:44:35 -0500 (EST)

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

commit 6068c922a434e3e48cdd9c62eb61b9b2345b3f2c
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 16a2664889..70644281ac 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1839,3 +1839,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]