forked from mirrors/nixpkgs
python3Packages.pytest-tap: add pythonImportsCheck
This commit is contained in:
parent
9295cc28c9
commit
517ff272ee
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue