[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add python-pytest-asyncio.
From: |
guix-commits |
Subject: |
05/07: gnu: Add python-pytest-asyncio. |
Date: |
Tue, 5 May 2020 14:15:42 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 8b27771b77f024e47b0e12a4da54e4b0dd9fc830
Author: Josh Marshall <address@hidden>
AuthorDate: Sun May 3 18:22:23 2020 -0400
gnu: Add python-pytest-asyncio.
* gnu/packages/check.scm (python-pytest-asyncio): New public variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/check.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 427607e..213363f 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2019 Chris Marusich <address@hidden>
;;; Copyright © 2020 Lars-Dominik Braun <address@hidden>
;;; Copyright © 2020 Brice Waegeneire <address@hidden>
+;;; Copyright © 2020 Josh Marshall <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1408,6 +1409,30 @@ executed.")
(define-public python2-coverage
(package-with-python2 python-coverage))
+(define-public python-pytest-asyncio
+ (package
+ (name "python-pytest-asyncio")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-asyncio" version))
+ (sha256
+ (base32 "1bysy4nii13bm7h345wxf8fxcjhab7l374pqdv7vwv3izl053b4z"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-async-generator" ,python-async-generator)
+ ("python-hypothesis" ,python-hypothesis)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/pytest-dev/pytest-asyncio")
+ (synopsis "Pytest support for asyncio")
+ (description "Python asyncio code is usually written in the form of
+coroutines, which makes it slightly more difficult to test using normal
+testing tools. @code{pytest-asyncio} provides useful fixtures and markers
+to make testing async code easier.")
+ (license license:asl2.0)))
+
(define-public python-cov-core
(package
(name "python-cov-core")
- branch master updated (ec5c22c -> 751d1f0), guix-commits, 2020/05/05
- 01/07: gnu: SOCI: Build with MariaDB instead of MySQL., guix-commits, 2020/05/05
- 02/07: gnu: SOCI: Return #t from all phases., guix-commits, 2020/05/05
- 03/07: gnu: Add gccmakedep., guix-commits, 2020/05/05
- 04/07: gnu: emacs-ess: Update to 18.10.2., guix-commits, 2020/05/05
- 05/07: gnu: Add python-pytest-asyncio.,
guix-commits <=
- 06/07: services: For "sddm" pam service, include "limits.conf"., guix-commits, 2020/05/05
- 07/07: doc: cookbook: Fix sbcl-ttf-fonts package name., guix-commits, 2020/05/05