1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

python3Packages.versionfinder: use pytestCheckHook

This commit is contained in:
Zak B. Elep 2021-10-17 15:18:28 +08:00
parent 923342dc61
commit c856904cb5

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; {