mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
python3Packages.dpath: fix tests
This commit is contained in:
parent
fca2d726e0
commit
4e299b06f7
@ -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 New Issue
Block a user