python3Packages.habanero: disable network tests

This commit is contained in:
Jonathan Ringer 2022-02-07 12:32:46 -08:00
parent 0c8b4192b0
commit 6d02a514db
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -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";