Merge pull request #183211 from onny/duecredit

python310Packages.duecredit: Enable more tests
This commit is contained in:
Jonas Heinrich 2022-07-30 10:05:12 +02:00 committed by GitHub
commit 5709ef33c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ citeproc-py requests setuptools six ];
checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ];
disabledTests = [ "test_io" ];
preCheck = ''
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [ "duecredit" ];
meta = with lib; {
homepage = "https://github.com/duecredit/duecredit";