* [bug#42636] [PATCH] gnu: Add python-pytest-ordering.
@ 2020-07-31 15:59 Vinicius Monego
2020-08-01 6:54 ` bug#42636: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-07-31 15:59 UTC (permalink / raw)
To: 42636; +Cc: Vinicius Monego
* gnu/packages/python-check.scm (python-pytest-ordering): New variable.
---
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 e96ce9e666..3beac8c206 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -126,6 +126,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")
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#42636: [PATCH] gnu: Add python-pytest-ordering.
2020-07-31 15:59 [bug#42636] [PATCH] gnu: Add python-pytest-ordering Vinicius Monego
@ 2020-08-01 6:54 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-08-01 6:54 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 42636-done
Hello,
> * gnu/packages/python-check.scm (python-pytest-ordering): New variable.
Pushed, thanks!
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-01 6:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 15:59 [bug#42636] [PATCH] gnu: Add python-pytest-ordering Vinicius Monego
2020-08-01 6:54 ` bug#42636: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).