gnu: python-pytest-toolbox: Fix test suite.
* gnu/packages/python-check.scm (python-pytest-toolbox)[arguments]: Adjust custom 'check phase to remove obsolete pytest flag. [native-inputs]: Remove python-coverage, python-docutils, python-flake8, python-isort, python-pyflakes, python-pygments, python-pytest-cov, python-pytest-mock, python-pytest-sugar.master
parent
a41f93c39d
commit
c2179c27fe
|
@ -1130,22 +1130,15 @@ service processes for your tests with pytest.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(substitute* "setup.cfg"
|
||||||
|
((".*timeout.*") ""))
|
||||||
;; Make the installed plugin discoverable by Pytest.
|
;; Make the installed plugin discoverable by Pytest.
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "pytest" "-vv"))))))
|
(invoke "pytest" "-vv"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-coverage" ,python-coverage)
|
`(("python-pydantic" ,python-pydantic)
|
||||||
("python-docutils" ,python-docutils)
|
|
||||||
("python-flake8" ,python-flake8)
|
|
||||||
("python-isort" ,python-isort)
|
|
||||||
("python-pydantic" ,python-pydantic)
|
|
||||||
("python-pyflakes" ,python-pyflakes)
|
|
||||||
("python-pygments" ,python-pygments)
|
|
||||||
("python-pytest" ,python-pytest)
|
("python-pytest" ,python-pytest)
|
||||||
("python-pytest-cov" ,python-pytest-cov)
|
("python-pytest-isort" ,python-pytest-isort)))
|
||||||
("python-pytest-isort" ,python-pytest-isort)
|
|
||||||
("python-pytest-mock" ,python-pytest-mock)
|
|
||||||
("python-pytest-sugar" ,python-pytest-sugar)))
|
|
||||||
(home-page "https://github.com/samuelcolvin/pytest-toolbox")
|
(home-page "https://github.com/samuelcolvin/pytest-toolbox")
|
||||||
(synopsis "Numerous useful plugins for Pytest")
|
(synopsis "Numerous useful plugins for Pytest")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue