guix-patches
[Top][All Lists]
Advanced

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

[bug#50018] [PATCH 14/19] gnu: Add python-pytest-celery.


From: Vinicius Monego
Subject: [bug#50018] [PATCH 14/19] gnu: Add python-pytest-celery.
Date: Wed, 11 Aug 2021 23:45:06 +0000

* gnu/packages/python-check.scm (python-pytest-celery): 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 148dfd5fad..18e3a27a18 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1156,6 +1156,26 @@ also ensuring that the notebooks are running without 
errors.")
      "This pytest plugin provides fixtures to simplify Flask app testing.")
     (license license:expat)))
 
+(define-public python-pytest-celery
+  (package
+    (name "python-pytest-celery")
+    (version "0.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-celery" version))
+       (sha256
+        (base32 "01pli108qqiiyrn8qsqqabcpazrzj27r7cji9wgglsk76by61l6g"))))
+    (build-system python-build-system)
+    (arguments
+     ;; No tests and causes a circular dependency with python-celery.
+     `(#:tests? #f))
+    (home-page "https://github.com/graingert/pytest-celery";)
+    (synopsis "Shim pytest plugin to enable @code{celery.contrib.pytest}")
+    (description
+     "This package provides a shim Pytest plugin to enable a Celery marker.")
+    (license license:bsd-3)))
+
 (define-public python-pytest-env
   (package
     (name "python-pytest-env")
-- 
2.30.2






reply via email to

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