Merge pull request #115341 from SuperSandro2000/defused

pythonPackages.defusedxml: execute tests
This commit is contained in:
Sandro 2021-03-07 20:43:09 +01:00 committed by GitHub
commit f39798eb72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, python
}:
buildPythonPackage rec {
@ -14,6 +15,10 @@ buildPythonPackage rec {
sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6";
};
checkPhase = ''
${python.interpreter} tests.py
'';
pythonImportsCheck = [ "defusedxml" ];
meta = with lib; {