[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: |
Thu, 2 Sep 2021 17:55:43 -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")
- 229/377: gnu: scrot: Update to 1.6., (continued)
- 229/377: gnu: scrot: Update to 1.6., guix-commits, 2021/09/02
- 221/377: gnu: Add emacs-helm-xref., guix-commits, 2021/09/02
- 233/377: gnu: Add h-client., guix-commits, 2021/09/02
- 223/377: services: xorg: Delay the xorg-configuration-modules field evaluation., guix-commits, 2021/09/02
- 238/377: gnu: Add python-pytest-console-scripts., guix-commits, 2021/09/02
- 227/377: services: hurd-vm: Use the new 'targets' field of <bootloader-configuration>., guix-commits, 2021/09/02
- 210/377: gnu: Add ansible-core., guix-commits, 2021/09/02
- 232/377: gnu: wine: Update to 6.14., guix-commits, 2021/09/02
- 212/377: gnu: python-django: Update to 3.2.6., guix-commits, 2021/09/02
- 234/377: gnu: wine: Update to 6.16., guix-commits, 2021/09/02
- 239/377: gnu: Add python-pytest-tornasync.,
guix-commits <=
- 237/377: gnu: Add python-dna-features-viewer., guix-commits, 2021/09/02
- 219/377: gnu: shadow: Use the cross-compiled shell at runtime., guix-commits, 2021/09/02
- 230/377: build-system: chicken: Add 'egg-uri' procedure., guix-commits, 2021/09/02
- 218/377: gnu: Add emacs-hideshowvis., guix-commits, 2021/09/02
- 231/377: gnu: Add ocaml-odoc-parser., guix-commits, 2021/09/02
- 216/377: isc-dhcp: Fix dhclient-script wrapper when cross-compiling., guix-commits, 2021/09/02
- 215/377: services: Remove i486 qemu target., guix-commits, 2021/09/02
- 248/377: build/jami-service: Fix range ends in account-fingerprint-rx., guix-commits, 2021/09/02
- 242/377: gnu: Add python-jupyter-server., guix-commits, 2021/09/02
- 246/377: gnu: Add python-voila., guix-commits, 2021/09/02