guix-commits
[Top][All Lists]
Advanced

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

01/12: gnu: Add python-pytest-tornado5.


From: guix-commits
Subject: 01/12: gnu: Add python-pytest-tornado5.
Date: Sun, 18 Feb 2024 07:23:15 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit c2f5d0f7d8d58aa48b5f83f38e4395b7d22955cd
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Mon Jan 15 23:49:34 2024 +0100

    gnu: Add python-pytest-tornado5.
    
    * gnu/packages/check.scm (python-pytest-tornado5): New variable.
    
    Change-Id: I9843e91d750bf17128eb6f566b8dbb5cbc0d8278
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index b520d6c58a..5237f93a93 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2023 Reza Housseini <reza@housseini.me>
 ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3503,6 +3504,29 @@ tables by saving expected data in a data directory 
(courtesy of pytest-datadir)
 that can be used to verify that future runs produce the same data.")
     (license license:expat)))
 
+(define-public python-pytest-tornado5
+  (package
+    (name "python-pytest-tornado5")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-tornado5" version))
+              (sha256
+               (base32
+                "0qb62jw2w0xr6y942yp0qxiy755bismjfpnxaxjjm05gy2pymr8d"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Tests require pytest < 6
+     (list #:tests? #f))
+    (propagated-inputs (list python-pytest python-tornado))
+    (home-page "https://github.com/vidartf/pytest-tornado";)
+    (synopsis
+     "Fixtures and markers to simplify testing of Tornado applications")
+    (description
+     "This package provides a @code{py.test} plugin supplying fixtures and
+markers to simplify testing of asynchronous tornado applications.")
+    (license license:asl2.0)))
+
 (define-public guile-proba
   (package
     (name "guile-proba")



reply via email to

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