python3Packages.ansible-runner: skip failing tests
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
importlib-metadata,
|
||||
|
||||
# tests
|
||||
addBinToPathHook,
|
||||
ansible-core,
|
||||
glibcLocales,
|
||||
mock,
|
||||
@@ -26,6 +27,7 @@
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
versionCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -60,6 +62,7 @@ buildPythonPackage rec {
|
||||
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
addBinToPathHook
|
||||
ansible-core # required to place ansible CLI onto the PATH in tests
|
||||
glibcLocales
|
||||
mock
|
||||
@@ -69,12 +72,11 @@ buildPythonPackage rec {
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
versionCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
export PATH="$PATH:$out/bin";
|
||||
# avoid coverage flags
|
||||
rm pytest.ini
|
||||
'';
|
||||
@@ -90,8 +92,10 @@ buildPythonPackage rec {
|
||||
# Assertion error
|
||||
"test_callback_plugin_censoring_does_not_overwrite"
|
||||
"test_get_role_list"
|
||||
"test_include_role_events"
|
||||
"test_include_role_from_collection_events"
|
||||
"test_module_level_no_log"
|
||||
"test_output_when_given_invalid_playbook"
|
||||
"test_resolved_actions"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user