python3Packages.python-jenkins: remove deprecated unittest2

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2022-06-22 15:22:35 +02:00
parent 14ff007ff6
commit 56e02acbb2

View File

@@ -10,8 +10,8 @@
, multi_key_dict
, testscenarios
, requests
, unittest2
, requests-mock
, stestr
}:
buildPythonPackage rec {
@@ -33,16 +33,16 @@ buildPythonPackage rec {
buildInputs = [ mock ];
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
checkInputs = [ unittest2 testscenarios requests-mock ];
checkPhase = ''
unit2
'';
checkInputs = [ stestr testscenarios requests-mock ];
checkPhase = ''
stestr run
'';
meta = with lib; {
description = "Python bindings for the remote Jenkins API";
homepage = "https://pypi.python.org/pypi/python-jenkins";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ gador ];
};
}