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