python39Packages.Fabric: format, use pytestCheckHook, update disable test comment
This commit is contained in:
parent
922fd9119d
commit
756d8f1d3f
@ -1,9 +1,11 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cryptography
|
||||
, invoke
|
||||
, mock
|
||||
, paramiko
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pytest-relaxed
|
||||
}:
|
||||
|
||||
@ -23,20 +25,21 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
||||
checkInputs = [ pytest mock pytest-relaxed ];
|
||||
|
||||
# requires pytest_relaxed, which doesnt have official support for pytest>=5
|
||||
# https://github.com/bitprophet/pytest-relaxed/issues/12
|
||||
checkInputs = [ pytestCheckHook pytest-relaxed mock ];
|
||||
|
||||
# ==================================== ERRORS ====================================
|
||||
# ________________________ ERROR collecting test session _________________________
|
||||
# Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent
|
||||
# See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "fabric" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pythonic remote execution";
|
||||
homepage = "https://www.fabfile.org/";
|
||||
license = licenses.bsd2;
|
||||
homepage = "https://www.fabfile.org/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user