python3Packages.habanero: disable network tests

main
Jonathan Ringer 2 years ago
parent 0c8b4192b0
commit 6d02a514db
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 12
      pkgs/development/python-modules/habanero/default.nix

@ -1,6 +1,7 @@
{ buildPythonPackage, lib, fetchFromGitHub
, requests, tqdm
, nose, vcrpy
, pytestCheckHook
}:
buildPythonPackage rec {
@ -17,8 +18,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [ requests tqdm ];
checkInputs = [ nose vcrpy ];
checkPhase = "make test";
# almost the entirety of the test suite makes network calls
pytestFlagsArray = [
"test/test-filters.py"
];
checkInputs = [
pytestCheckHook
vcrpy
];
meta = {
description = "Python interface to Library Genesis";

Loading…
Cancel
Save