From fa05f555123b968f36cfd38e5a5f37d6ed786b7d Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Mon, 15 May 2023 14:39:14 -0500 Subject: [PATCH] [collection] Fix sanity tests on ansible-core 2.15 (#14007) Signed-off-by: Rick Elrod --- awx_collection/plugins/modules/job_template.py | 1 - awx_collection/tests/sanity/ignore-2.15.txt | 2 ++ awx_collection/tests/sanity/ignore-2.16.txt | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 awx_collection/tests/sanity/ignore-2.16.txt diff --git a/awx_collection/plugins/modules/job_template.py b/awx_collection/plugins/modules/job_template.py index 5e2c6455f641..cf84a10088cd 100644 --- a/awx_collection/plugins/modules/job_template.py +++ b/awx_collection/plugins/modules/job_template.py @@ -264,7 +264,6 @@ description: - Maximum time in seconds to wait for a job to finish (server-side). type: int - default: 0 job_slice_count: description: - The number of jobs to slice into at runtime. Will cause the Job Template to launch a workflow if value is greater than 1. diff --git a/awx_collection/tests/sanity/ignore-2.15.txt b/awx_collection/tests/sanity/ignore-2.15.txt index 19512ea0c162..b502cada124b 100644 --- a/awx_collection/tests/sanity/ignore-2.15.txt +++ b/awx_collection/tests/sanity/ignore-2.15.txt @@ -1 +1,3 @@ plugins/modules/export.py validate-modules:nonexistent-parameter-documented # needs awxkit to construct argspec +plugins/modules/import.py pylint:unused-import # Simply used as a feature flag conditional +test/awx/conftest.py pylint:unused-import # Used to make sure we are importing the right awxkit, see comment in conftest.py near imports diff --git a/awx_collection/tests/sanity/ignore-2.16.txt b/awx_collection/tests/sanity/ignore-2.16.txt new file mode 100644 index 000000000000..b502cada124b --- /dev/null +++ b/awx_collection/tests/sanity/ignore-2.16.txt @@ -0,0 +1,3 @@ +plugins/modules/export.py validate-modules:nonexistent-parameter-documented # needs awxkit to construct argspec +plugins/modules/import.py pylint:unused-import # Simply used as a feature flag conditional +test/awx/conftest.py pylint:unused-import # Used to make sure we are importing the right awxkit, see comment in conftest.py near imports