python3Packages.dpath: fix tests
This commit is contained in:
parent
fca2d726e0
commit
4e299b06f7
1 changed files with 3 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue