python3Packages.inform: fix tests
This commit is contained in:
parent
fbec077998
commit
0b58b6ed8e
@ -3,6 +3,7 @@
|
|||||||
, six
|
, six
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, pytest
|
, pytest
|
||||||
|
, pytestrunner
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -17,10 +18,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "02zlprvidkz51aypss4knhv7dbr0sbpz3caqjzf9am2n1jx2viyy";
|
sha256 = "02zlprvidkz51aypss4knhv7dbr0sbpz3caqjzf9am2n1jx2viyy";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
propagatedBuildInputs = [ arrow six ];
|
propagatedBuildInputs = [ arrow six ];
|
||||||
|
|
||||||
checkInputs = [ pytest hypothesis ];
|
checkInputs = [ pytest hypothesis ];
|
||||||
checkPhase = "./test.doctests.py && ./test.inform.py && pytest";
|
checkPhase = ''
|
||||||
|
patchShebangs test.doctests.py test.inform.py
|
||||||
|
./test.doctests.py && ./test.inform.py && pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Print and logging utilities";
|
description = "Print and logging utilities";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user