pythonPackages.pytest-repeat: init at 0.6.0
- compatible with 2.7, 3+ - all tests pass and running
This commit is contained in:
parent
05890dda3d
commit
7b920172db
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/pytest-repeat/default.nix
Normal file
29
pkgs/development/python-modules/pytest-repeat/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools_scm
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-repeat";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "84aba2fcca5dc2f32ae626a01708f469f17b3384ec3d1f507698077f274909d6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ setuptools_scm pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Pytest plugin for repeating tests";
|
||||||
|
homepage = https://github.com/pytest-dev/pytest-repeat;
|
||||||
|
maintainers = with lib.maintainers; [ costrouc ];
|
||||||
|
license = lib.licenses.mpl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1913,6 +1913,8 @@ in {
|
||||||
|
|
||||||
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
||||||
|
|
||||||
|
pytest-repeat = callPackage ../development/python-modules/pytest-repeat { };
|
||||||
|
|
||||||
pytestrunner = callPackage ../development/python-modules/pytestrunner { };
|
pytestrunner = callPackage ../development/python-modules/pytestrunner { };
|
||||||
|
|
||||||
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
||||||
|
|
Loading…
Reference in a new issue