pythonPackages.lektor: use pytestCheckHook
This commit is contained in:
parent
d2ca51344e
commit
d165503b58
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user