[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
239/377: gnu: Add python-pytest-tornasync.
From: |
guix-commits |
Subject: |
239/377: gnu: Add python-pytest-tornasync. |
Date: |
Sun, 5 Sep 2021 10:07:57 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
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")
- 148/377: gnu: Add rust-polars-arrow-0.15., (continued)
- 148/377: gnu: Add rust-polars-arrow-0.15., guix-commits, 2021/09/05
- 155/377: gnu: rust-zstd-sys-1: Update to 1.6.1+zstd.1.5.0., guix-commits, 2021/09/05
- 178/377: gnu: man-pages: Update to 5.13., guix-commits, 2021/09/05
- 183/377: gnu: ocl-icd: Replace with opencl-icd-loader., guix-commits, 2021/09/05
- 185/377: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/09/05
- 190/377: images: pinebook-pro: Fix the agetty baud rate., guix-commits, 2021/09/05
- 211/377: gnu: ansible: Update to 4.4.0., guix-commits, 2021/09/05
- 227/377: services: hurd-vm: Use the new 'targets' field of <bootloader-configuration>., guix-commits, 2021/09/05
- 235/377: gnu: Add python-pybbi., guix-commits, 2021/09/05
- 87/377: gnu: Add ivar., guix-commits, 2021/09/05
- 239/377: gnu: Add python-pytest-tornasync.,
guix-commits <=
- 247/377: gnu: Add python-coolbox., guix-commits, 2021/09/05
- 252/377: gnu: Add go-github-com-anaseto-gruid-tcell., guix-commits, 2021/09/05
- 253/377: gnu: harmonist: Update to 0.4.1., guix-commits, 2021/09/05
- 165/377: gnu: python-pytest-xprocess: Update to 0.18.1., guix-commits, 2021/09/05
- 171/377: gnu: Add python-strawc., guix-commits, 2021/09/05
- 174/377: gnu: postgresql-10: Update to 10.18., guix-commits, 2021/09/05
- 133/377: gnu: Add r-crul., guix-commits, 2021/09/05
- 147/377: gnu: Add rust-polars-core-0.15., guix-commits, 2021/09/05
- 153/377: gnu: Add rust-flatbuffers-2., guix-commits, 2021/09/05
- 154/377: gnu: Add rust-bigdecimal-rs-0.2., guix-commits, 2021/09/05