pythonPackages.lektor: use pytestCheckHook

This commit is contained in:
Sandro Jäckel 2021-02-16 23:17:59 +01:00
parent d2ca51344e
commit d165503b58
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -12,8 +12,8 @@
, flask , flask
, pyopenssl , pyopenssl
, ndg-httpsclient , ndg-httpsclient
, pytest , pytestCheckHook
, pytestcov , pytest-cov
, pytest-mock , pytest-mock
, pytest-pylint , pytest-pylint
, pytest-click , pytest-click
@ -39,13 +39,9 @@ buildPythonPackage rec {
] ++ lib.optionals isPy27 [ functools32 ]; ] ++ lib.optionals isPy27 [ functools32 ];
checkInputs = [ checkInputs = [
pytest pytestcov pytest-mock pytest-pylint pytest-click pytestCheckHook pytest-cov pytest-mock pytest-pylint pytest-click
]; ];
checkPhase = ''
pytest
'';
# many errors -- tests assume inside of git repo, linting errors 13/317 fail # many errors -- tests assume inside of git repo, linting errors 13/317 fail
doCheck = false; doCheck = false;