[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: Add python-pytest-ordering.
From: |
guix-commits |
Subject: |
03/07: gnu: Add python-pytest-ordering. |
Date: |
Sat, 1 Aug 2020 03:32:07 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 6364610174423b8c5a7d227bb274e799e3b965ef
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Fri Jul 31 12:59:21 2020 -0300
gnu: Add python-pytest-ordering.
* gnu/packages/python-check.scm (python-pytest-ordering): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 51b8649..7a84fe3 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -128,6 +128,40 @@ detect the absence of a cassette file and once again
record all HTTP
interactions, which will update them to correspond to the new API.")
(license license:expat)))
+(define-public python-pytest-ordering
+ (package
+ (name "python-pytest-ordering")
+ (version "0.6")
+ (source
+ (origin
+ ;; No tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ftobia/pytest-ordering")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14msj5gyqza0gk3x7h1ivmjrwza82v84cj7jx3ks0fw9lpin7pjq"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv" "-k"
+ ;; This test fails because of a type mismatch of an
+ ;; argument passed to @code{pytest.main}.
+ "not test_run_marker_registered"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/ftobia/pytest-ordering")
+ (synopsis "Pytest plugin to run your tests in a specific order")
+ (description
+ "This plugin defines Pytest markers to ensure that some tests, or groups
+of tests run in a specific order.")
+ (license license:expat)))
+
(define-public python-pytest-arraydiff
(package
(name "python-pytest-arraydiff")
- branch master updated (c7fe7f2 -> 3cc8b4f), guix-commits, 2020/08/01
- 03/07: gnu: Add python-pytest-ordering.,
guix-commits <=
- 01/07: guix: lint: Ignore unsupported source URL’s., guix-commits, 2020/08/01
- 02/07: gnu: qtimageformats: Fix build., guix-commits, 2020/08/01
- 04/07: gnu: Update xxhash to 0.8.0., guix-commits, 2020/08/01
- 05/07: gnu: plantuml: Update to 1.2020.15., guix-commits, 2020/08/01
- 06/07: gnu: xfce4-notifyd: Update to 0.6.1., guix-commits, 2020/08/01
- 07/07: gnu: pulsemixer: Update to 1.5.1., guix-commits, 2020/08/01