Commit c856904c authored by Zak B. Elep's avatar Zak B. Elep
Browse files

python3Packages.versionfinder: use pytestCheckHook

parent 923342dc
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
{ 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; {