mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 17:53:26 -05:00
gnu: Add python-pytest-rerunfailures.
* gnu/packages/python-check.scm (python-pytest-rerunfailures): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
9665660e4b
commit
51e26b297c
1 changed files with 28 additions and 0 deletions
|
@ -1154,6 +1154,34 @@ (define-public python-pytest-toolbox
|
||||||
new fixtures, new methods and new comparison objects.")
|
new fixtures, new methods and new comparison objects.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-pytest-rerunfailures
|
||||||
|
(package
|
||||||
|
(name "python-pytest-rerunfailures")
|
||||||
|
(version "10.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pytest-rerunfailures" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "15v68kggjvkflbqr0vz8gp5yp3pcsk0rz05bpg2l4xp0a6nin7ly"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "python" "-m" "pytest"
|
||||||
|
"test_pytest_rerunfailures.py")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest))
|
||||||
|
(home-page "https://github.com/pytest-dev/pytest-rerunfailures")
|
||||||
|
(synopsis "Pytest plugin to re-run tests to eliminate flaky failures")
|
||||||
|
(description "This package provides a Pytest plugin to re-run tests to
|
||||||
|
eliminate flaky failures.")
|
||||||
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
(define-public python-pytest-aiohttp
|
(define-public python-pytest-aiohttp
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-aiohttp")
|
(name "python-pytest-aiohttp")
|
||||||
|
|
Loading…
Reference in a new issue