python312Packages.pytest-testinfra: format with nixfmt
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
, ansible-core
|
||||
, paramiko
|
||||
, pytestCheckHook
|
||||
, pytest-xdist
|
||||
, pywinrm
|
||||
, salt
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
ansible-core,
|
||||
paramiko,
|
||||
pytestCheckHook,
|
||||
pytest-xdist,
|
||||
pywinrm,
|
||||
salt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -21,9 +22,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-93Qzm5R3Ws3zqMSjeTqOrS6N/HD/NLd4vhWquhQPoZ4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
ansible-core
|
||||
@@ -45,22 +44,22 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
# docker is required for all disabled tests
|
||||
disabledTests = [
|
||||
# test/test_backends.py
|
||||
"test_command"
|
||||
"test_encoding"
|
||||
"test_ansible_any_error_fatal"
|
||||
"test_user_connection"
|
||||
"test_sudo"
|
||||
"test_docker_encoding"
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
# broken because salt package only built for python 3.11
|
||||
"test_backend_importables"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# test/test_backends.py
|
||||
"test_command"
|
||||
"test_encoding"
|
||||
"test_ansible_any_error_fatal"
|
||||
"test_user_connection"
|
||||
"test_sudo"
|
||||
"test_docker_encoding"
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.11") [
|
||||
# broken because salt package only built for python 3.11
|
||||
"test_backend_importables"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"test/test_modules.py"
|
||||
];
|
||||
disabledTestPaths = [ "test/test_modules.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pytest plugin for testing your infrastructure";
|
||||
|
||||
Reference in New Issue
Block a user