Merge pull request #244091 from tjni/pytest-ansible-darwin-sandbox
python310Packages.pytest-ansible: disable tests that fail in darwin sandbox
This commit is contained in:
commit
6b45edb610
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ansible-core
|
, ansible-core
|
||||||
|
@ -55,6 +56,17 @@ buildPythonPackage rec {
|
||||||
# [Errno -3] Temporary failure in name resolution
|
# [Errno -3] Temporary failure in name resolution
|
||||||
"test_connection_failure_v2"
|
"test_connection_failure_v2"
|
||||||
"test_connection_failure_extra_inventory_v2"
|
"test_connection_failure_extra_inventory_v2"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
# These tests fail in the Darwin sandbox
|
||||||
|
"test_ansible_facts"
|
||||||
|
"test_func"
|
||||||
|
"test_param_override_with_marker"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = lib.optionals stdenv.isDarwin [
|
||||||
|
# These tests fail in the Darwin sandbox
|
||||||
|
"tests/test_adhoc.py"
|
||||||
|
"tests/test_adhoc_result.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
Loading…
Reference in a new issue