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
|
{ 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";
|
||||||
|
|
Loading…
Reference in a new issue