python3Packages.cssselect2: fix tests
This commit is contained in:
parent
b7a800827c
commit
51a36a4075
@ -5,6 +5,9 @@
|
||||
, tinycss2
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -17,19 +20,9 @@ buildPythonPackage rec {
|
||||
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
|
||||
};
|
||||
|
||||
# We're not interested in code quality tests
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "pytest-cov" "" \
|
||||
--replace "pytest-flake8" "" \
|
||||
--replace "pytest-isort" "" \
|
||||
--replace "--flake8" "" \
|
||||
--replace "--isort" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS selectors for Python ElementTree";
|
||||
|
Loading…
Reference in New Issue
Block a user