summary refs log tree commit diff
path: root/pkgs/development/python-modules/lektor
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-16 23:17:59 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-02-17 14:11:26 +0100
commitd165503b58b0239fc1ce0db757ca86d973b8e29e (patch)
treea5b21169d8a92c998da8c4a448d0ff1221096fdb /pkgs/development/python-modules/lektor
parentd2ca51344eef69740fc51644c2d22b1712e42626 (diff)
downloadnixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar.gz
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar.bz2
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar.lz
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar.xz
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.tar.zst
nixpkgs-d165503b58b0239fc1ce0db757ca86d973b8e29e.zip
pythonPackages.lektor: use pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/lektor')
-rw-r--r--pkgs/development/python-modules/lektor/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/lektor/default.nix b/pkgs/development/python-modules/lektor/default.nix
index 844e28aa078..febb1b1f0b1 100644
--- a/pkgs/development/python-modules/lektor/default.nix
+++ b/pkgs/development/python-modules/lektor/default.nix
@@ -12,8 +12,8 @@
 , flask
 , pyopenssl
 , ndg-httpsclient
-, pytest
-, pytestcov
+, pytestCheckHook
+, pytest-cov
 , pytest-mock
 , pytest-pylint
 , pytest-click
@@ -39,13 +39,9 @@ buildPythonPackage rec {
   ] ++ lib.optionals isPy27 [ functools32 ];
 
   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
   doCheck = false;