pythonPackages.dufte: Enable all tests

This commit is contained in:
Sandro Jäckel 2021-02-02 13:41:05 +01:00
parent c320ca389b
commit 158626ad6f
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -6,6 +6,7 @@
, importlib-metadata , importlib-metadata
, matplotlib , matplotlib
, numpy , numpy
, exdown
, pytestCheckHook , pytestCheckHook
}: }:
@ -32,12 +33,9 @@ buildPythonPackage rec {
mkdir -p $HOME/.matplotlib mkdir -p $HOME/.matplotlib
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
''; '';
checkInputs = [ pytestCheckHook ];
checkInputs = [ exdown pytestCheckHook ];
pythonImportsCheck = [ "dufte" ]; pythonImportsCheck = [ "dufte" ];
pytestFlagsArray = [
# we don't have the "exdown" package (yet)
"--ignore=test/test_readme.py"
];
meta = with lib; { meta = with lib; {
description = "Clean matplotlib plots"; description = "Clean matplotlib plots";