pythonPackages.scrapy-deltafetch: Disable tests

This commit is contained in:
Sandro Jäckel
2021-01-11 12:06:45 +01:00
parent 9a33d28fe2
commit f8c2f7583a
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchPypi, buildPythonPackage, pytest, scrapy, bsddb3 }: { stdenv, lib, fetchPypi, buildPythonPackage, scrapy, bsddb3 }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "scrapy-deltafetch"; pname = "scrapy-deltafetch";
@@ -11,7 +11,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ bsddb3 scrapy ]; propagatedBuildInputs = [ bsddb3 scrapy ];
checkInputs = [ pytest ]; # no tests
doCheck = false;
pythonImportsCheck = [ "scrapy_deltafetch" ];
meta = with lib; { meta = with lib; {
description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls"; description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";