3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #207977 from Cynerd/pytest-tap

python3Packages.pytest-tap: init at 3.3
This commit is contained in:
Fabian Affolter 2022-12-31 14:10:38 +01:00 committed by GitHub
commit 17076c62e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 63 additions and 0 deletions

View file

@ -3025,6 +3025,15 @@
githubId = 16950437;
name = "cwyc";
};
cynerd = {
name = "Karel Kočí";
email = "cynerd@email.cz";
github = "Cynerd";
githubId = 3811900;
keys = [{
fingerprint = "2B1F 70F9 5F1B 48DA 2265 A7FA A6BC 8B8C EB31 659B";
}];
};
cyounkins = {
name = "Craig Younkins";
email = "cyounkins@gmail.com";

View file

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytest
, tappy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-tap";
version = "3.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-tap";
repo = "pytest-tap";
rev = "v${version}";
sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4=";
};
buildInputs = [
pytest
];
propagatedBuildInputs = [
tappy
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release
"test_unittest_expected_failure"
];
pythonImportsCheck = [
"pytest_tap"
];
meta = with lib; {
description = "Test Anything Protocol (TAP) reporting plugin for pytest";
homepage = "https://github.com/python-tap/pytest-tap";
changelog = "https://github.com/python-tap/pytest-tap/blob/v${version}/docs/releases.rst";
license = licenses.bsd2;
maintainers = with maintainers; [ cynerd ];
};
}

View file

@ -8990,6 +8990,8 @@ self: super: with self; {
pytest-sugar = callPackage ../development/python-modules/pytest-sugar { };
pytest-tap = callPackage ../development/python-modules/pytest-tap { };
pytest-test-utils = callPackage ../development/python-modules/pytest-test-utils { };
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };