diff --git a/pkgs/development/python-modules/pytest-testinfra/default.nix b/pkgs/development/python-modules/pytest-testinfra/default.nix index 698b61ce058e..537dd1bbdae1 100644 --- a/pkgs/development/python-modules/pytest-testinfra/default.nix +++ b/pkgs/development/python-modules/pytest-testinfra/default.nix @@ -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";