mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add python-pytest-regressions.
* gnu/packages/check.scm (python-pytest-regressions): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
778ae273e9
commit
e31979c3a5
1 changed files with 35 additions and 0 deletions
|
@ -71,6 +71,7 @@ (define-module (gnu packages check)
|
||||||
#:use-module (gnu packages python-build)
|
#:use-module (gnu packages python-build)
|
||||||
#:use-module (gnu packages python-web)
|
#:use-module (gnu packages python-web)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
|
#:use-module (gnu packages python-science)
|
||||||
#:use-module (gnu packages time)
|
#:use-module (gnu packages time)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
@ -2942,3 +2943,37 @@ (define-public python-pytest-datadir
|
||||||
"This package provides a Pytest plugin for manipulating test data
|
"This package provides a Pytest plugin for manipulating test data
|
||||||
directories and files.")
|
directories and files.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-pytest-regressions
|
||||||
|
(package
|
||||||
|
(name "python-pytest-regressions")
|
||||||
|
(version "2.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pytest-regressions" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"05jpsvv8rj8i4x24fphpnar5dl4s6d6bw6ikjk5d8v96rdviz9qm"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-pytest-datadir" ,python-pytest-datadir)
|
||||||
|
("python-pyyaml" ,python-pyyaml)))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-matplotlib" ,python-matplotlib)
|
||||||
|
("python-numpy" ,python-numpy)
|
||||||
|
("python-pandas" ,python-pandas)
|
||||||
|
("python-pillow" ,python-pillow)
|
||||||
|
("python-pre-commit" ,python-pre-commit)
|
||||||
|
("python-restructuredtext-lint"
|
||||||
|
,python-restructuredtext-lint)
|
||||||
|
("python-tox" ,python-tox)
|
||||||
|
("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
|
("python-pytest" ,python-pytest)))
|
||||||
|
(home-page "https://github.com/ESSS/pytest-regressions")
|
||||||
|
(synopsis "Easy to use fixtures to write regression tests")
|
||||||
|
(description
|
||||||
|
"This plugin makes it simple to test general data, images, files, and numeric
|
||||||
|
tables by saving expected data in a data directory (courtesy of pytest-datadir)
|
||||||
|
that can be used to verify that future runs produce the same data.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
Loading…
Reference in a new issue