guix-commits
[Top][All Lists]
Advanced

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

02/06: gnu: Add python-parameterizedtestcase.


From: guix-commits
Subject: 02/06: gnu: Add python-parameterizedtestcase.
Date: Mon, 11 Apr 2022 09:40:36 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit a5412de56ef5462958f6009331d967556aedd11d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 7 16:47:46 2022 +0200

    gnu: Add python-parameterizedtestcase.
    
    * gnu/packages/python-check.scm (python-parameterizedtestcase): New 
variable.
---
 gnu/packages/python-check.scm | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 02e1b5a9d7..2d35eb720e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -1993,6 +1993,25 @@ The purpose of this package is to provide an easy way to 
test asynchronous
 HTTP requests.")
     (license license:expat)))
 
+(define-public python-parameterizedtestcase
+  (package
+    (name "python-parameterizedtestcase")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "parameterizedtestcase" version))
+       (sha256
+        (base32 "0zhjmsd16xacg4vd7zb75kw8q9khn52wvad634v1bvz7swaivk2c"))))
+    (build-system python-build-system)
+    (native-inputs (list python-setuptools)) ;for use_2to3
+    (home-page
+     "https://github.com/msabramo/python_unittest_parameterized_test_case";)
+    (synopsis "Parameterized tests for Python's unittest module")
+    (description "This package provides parameterized tests for Python's
+@code{unittest} module taking inspiration from pytest.")
+    (license license:expat)))
+
 (define-public python-pytest-rerunfailures
   (package
     (name "python-pytest-rerunfailures")



reply via email to

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