python3Packages.dpath: fix tests

This commit is contained in:
Jonathan Ringer 2020-06-08 12:03:19 -07:00 committed by Frederik Rietdijk
parent fca2d726e0
commit 4e299b06f7

View File

@ -1,5 +1,5 @@
{ stdenv, fetchPypi, buildPythonPackage
, mock, nose
, mock, pytestCheckHook, nose, hypothesis
}:
buildPythonPackage rec {
@ -11,10 +11,8 @@ buildPythonPackage rec {
sha256 = "bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa";
};
checkInputs = [ mock nose ];
checkPhase = ''
nosetests
'';
# use pytest as nosetests hangs
checkInputs = [ mock nose pytestCheckHook hypothesis ];
meta = with stdenv.lib; {
homepage = "https://github.com/akesterson/dpath-python";