3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pytest-tap: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-12-31 13:44:46 +01:00 committed by GitHub
parent 9295cc28c9
commit 517ff272ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-tap"; pname = "pytest-tap";
version = "3.3"; version = "3.3";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -19,15 +21,27 @@ buildPythonPackage rec {
sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4="; sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4=";
}; };
buildInputs = [ pytest ]; buildInputs = [
propagatedBuildInputs = [ tappy ]; pytest
];
propagatedBuildInputs = [
tappy
];
checkInputs = [
pytestCheckHook
];
checkInputs = [ pytestCheckHook ];
disabledTests = [ disabledTests = [
# Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release # Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release
"test_unittest_expected_failure" "test_unittest_expected_failure"
]; ];
pythonImportsCheck =
"pytest_tap"
];
meta = with lib; { meta = with lib; {
description = "Test Anything Protocol (TAP) reporting plugin for pytest"; description = "Test Anything Protocol (TAP) reporting plugin for pytest";
homepage = "https://github.com/python-tap/pytest-tap"; homepage = "https://github.com/python-tap/pytest-tap";