[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add python-pytest-tornasync.
From: |
guix-commits |
Subject: |
05/13: gnu: Add python-pytest-tornasync. |
Date: |
Mon, 30 Aug 2021 12:50:50 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c7d5e1a24c4805f02b7d9dd87cc8810264bdc7d2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Aug 27 17:56:51 2021 +0200
gnu: Add python-pytest-tornasync.
* gnu/packages/python-check.scm (python-pytest-tornasync): New variable.
---
gnu/packages/python-check.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8577c8a..b8d63b8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1133,6 +1133,38 @@ also ensuring that the notebooks are running without
errors.")
"This package provides a pytest plugin for testing console scripts.")
(license license:expat)))
+(define-public python-pytest-tornasync
+ (package
+ (name "python-pytest-tornasync")
+ (version "0.6.0.post2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-tornasync" version))
+ (sha256
+ (base32
+ "0pdyddbzppkfqwa7g17sdfl4w2v1hgsky78l8f4c1rx2a7cvd0fp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #false ; TODO: fails at "from test import MESSAGE, PAUSE_TIME"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "--verbose")))))))
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-tornado" ,python-tornado)))
+ (home-page "https://github.com/eukaryote/pytest-tornasync")
+ (synopsis "Pytest plugin for testing Tornado code")
+ (description
+ "This package provides a simple pytest plugin that provides some helpful
+fixtures for testing Tornado (version 5.0 or newer) apps and easy handling of
+plain (undecoratored) native coroutine tests.")
+ (license license:expat)))
+
(define-public python-pytest-env
(package
(name "python-pytest-env")
- branch master updated (b8926ca -> 7712154), guix-commits, 2021/08/30
- 01/13: gnu: Add python-pybbi., guix-commits, 2021/08/30
- 02/13: gnu: Add python-svgutils., guix-commits, 2021/08/30
- 04/13: gnu: Add python-pytest-console-scripts., guix-commits, 2021/08/30
- 06/13: gnu: Add python-pytest-mock-3., guix-commits, 2021/08/30
- 08/13: gnu: Add python-jupyter-server., guix-commits, 2021/08/30
- 07/13: gnu: Add python-anyio., guix-commits, 2021/08/30
- 05/13: gnu: Add python-pytest-tornasync.,
guix-commits <=
- 12/13: gnu: Add python-voila., guix-commits, 2021/08/30
- 03/13: gnu: Add python-dna-features-viewer., guix-commits, 2021/08/30
- 09/13: gnu: python-scanpy: Update to 1.8.1., guix-commits, 2021/08/30
- 10/13: gnu: python-anndata: Fetch sources from git., guix-commits, 2021/08/30
- 11/13: gnu: python-scikit-learn: Update to 0.24.2., guix-commits, 2021/08/30
- 13/13: gnu: Add python-coolbox., guix-commits, 2021/08/30