Symlink modules for 2.9 compat (#5103)

* Symlink modules for 2.9 compat

* Avoid symlinks in completeness tests
This commit is contained in:
Alan Rominger 2021-06-21 10:01:52 -04:00 committed by Shane McDonald
parent 82c510e51e
commit 4a85983eb7
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374
40 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1 @@
ad_hoc_command.py

View File

@ -0,0 +1 @@
ad_hoc_command_cancel.py

View File

@ -0,0 +1 @@
ad_hoc_command_wait.py

View File

@ -0,0 +1 @@
application.py

View File

@ -0,0 +1 @@
controller_meta.py

View File

@ -0,0 +1 @@
credential.py

View File

@ -0,0 +1 @@
credential_input_source.py

View File

@ -0,0 +1 @@
credential_type.py

View File

@ -0,0 +1 @@
execution_environment.py

View File

@ -0,0 +1 @@
export.py

View File

@ -0,0 +1 @@
group.py

View File

@ -0,0 +1 @@
host.py

View File

@ -0,0 +1 @@
import.py

View File

@ -0,0 +1 @@
instance_group.py

View File

@ -0,0 +1 @@
inventory.py

View File

@ -0,0 +1 @@
inventory_source.py

View File

@ -0,0 +1 @@
inventory_source_update.py

View File

@ -0,0 +1 @@
job_cancel.py

View File

@ -0,0 +1 @@
job_launch.py

View File

@ -0,0 +1 @@
job_list.py

View File

@ -0,0 +1 @@
job_template.py

View File

@ -0,0 +1 @@
job_wait.py

View File

@ -0,0 +1 @@
label.py

View File

@ -0,0 +1 @@
license.py

View File

@ -0,0 +1 @@
notification_template.py

View File

@ -0,0 +1 @@
organization.py

View File

@ -0,0 +1 @@
project.py

View File

@ -0,0 +1 @@
project_update.py

View File

@ -0,0 +1 @@
role.py

View File

@ -0,0 +1 @@
schedule.py

View File

@ -0,0 +1 @@
settings.py

View File

@ -0,0 +1 @@
team.py

View File

@ -0,0 +1 @@
token.py

View File

@ -0,0 +1 @@
user.py

View File

@ -0,0 +1 @@
workflow_approval.py

View File

@ -0,0 +1 @@
workflow_job_template.py

View File

@ -0,0 +1 @@
workflow_job_template_node.py

View File

@ -0,0 +1 @@
workflow_launch.py

View File

@ -0,0 +1 @@
workflow_node_wait.py

View File

@ -2,9 +2,8 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
import pytest
from awx.main.tests.functional.conftest import _request
from ansible.module_utils.six import PY2, string_types
from ansible.module_utils.six import string_types
import yaml
import os
import re
@ -169,6 +168,8 @@ def test_completeness(collection_import, request, admin_user, job_template, exec
for root, dirs, files in os.walk(module_directory):
if root == module_directory:
for filename in files:
if os.path.islink(os.path.join(root, filename)):
continue
# must begin with a letter a-z, and end in .py
if re.match(r'^[a-z].*.py$', filename):
module_name = filename[:-3]