mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
pythonPackages.defusedxml: execute tests
This commit is contained in:
parent
870137af3c
commit
2192b2abda
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user