Merge pull request #113710 from SuperSandro2000/launchpadlib

pythonPackages.launchpadlib: fix tests by using pytestCheckHook
This commit is contained in:
Sandro
2021-02-21 03:24:18 +01:00
committed by GitHub

View File

@@ -10,6 +10,7 @@
, six
, testresources
, wadllib
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -32,6 +33,8 @@ buildPythonPackage rec {
wadllib
];
checkInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$TMPDIR
'';
@@ -41,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Script Launchpad through its web services interfaces. Officially supported";
homepage = "https://help.launchpad.net/API/launchpadlib";
license = licenses.lgpl3;
license = licenses.lgpl3Only;
maintainers = [ maintainers.marsam ];
};
}