Merge pull request #141949 from zakame/fixes/python3-versionfinder-use-pytestCheckHook

python3Packages.versionfinder: use pytestCheckHook
This commit is contained in:
Fabian Affolter 2021-10-18 08:48:13 +02:00 committed by GitHub
commit ea31b79541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, GitPython, pytest, backoff, requests }:
{ lib, buildPythonPackage, fetchFromGitHub, GitPython, pytestCheckHook, backoff, requests }:
buildPythonPackage rec {
pname = "versionfinder";
@ -17,10 +17,15 @@ buildPythonPackage rec {
];
checkInputs = [
pytest
pytestCheckHook
requests
];
disabledTestPaths = [
# acceptance tests use the network
"versionfinder/tests/test_acceptance.py"
];
pythonImportsCheck = [ "versionfinder" ];
meta = with lib; {