mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 02:51:18 +00:00
python3Packages.pytest-error-for-skips: init at 2.0.2
This commit is contained in:
parent
916536210d
commit
5b72839b79
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-error-for-skips";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jankatins";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "04i4jd3bg4lgn2jfh0a0dzg3ml9b2bjv2ndia6b64w96r3r4p3qr";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pytest_error_for_skips" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pytest plugin to treat skipped tests a test failures";
|
||||
homepage = "https://github.com/jankatins/pytest-error-for-skips";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6406,6 +6406,8 @@ in {
|
|||
|
||||
pytest-env = callPackage ../development/python-modules/pytest-env { };
|
||||
|
||||
pytest-error-for-skips = callPackage ../development/python-modules/pytest-error-for-skips { };
|
||||
|
||||
pytest-expect = callPackage ../development/python-modules/pytest-expect { };
|
||||
|
||||
pytest-factoryboy = callPackage ../development/python-modules/pytest-factoryboy { };
|
||||
|
|
Loading…
Reference in a new issue