Merge pull request #115341 from SuperSandro2000/defused
pythonPackages.defusedxml: execute tests
commitf39798eb72999d7533032bf1b478ed3db845b1d7
authorSandro <sandro.jaeckel@gmail.com>
dateSun 7 Mar 2021, 20:43 (6 years ago)
parentf43497d2192b2a
pkgs/development/python-modules/defusedxml/default.nix+5
@@ -2,6 +2,7 @@
22, buildPythonPackage
33, fetchPypi
44, pythonOlder
5+, python
56}:
67
78buildPythonPackage rec {
@@ -14,6 +15,10 @@ buildPythonPackage rec {
1415 sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6";
1516 };
1617
18+ checkPhase = ''
19+ ${python.interpreter} tests.py
20+ '';
21+
1722 pythonImportsCheck = [ "defusedxml" ];
1823
1924 meta = with lib; {