mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
fix unit tests
This commit is contained in:
@@ -169,7 +169,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 re.match('^tower_.*.py$', filename):
|
||||
# must begin with a letter a-z, and end in .py
|
||||
if re.match('^[a-z].*\.py$', filename):
|
||||
module_name = filename[:-3]
|
||||
option_comparison[module_name] = {
|
||||
'endpoint': 'N/A',
|
||||
|
||||
@@ -10,7 +10,7 @@ from requests.models import Response
|
||||
from unittest import mock
|
||||
|
||||
awx_name = 'AWX'
|
||||
tower_name = 'Red Hat Ansible Tower'
|
||||
tower_name = 'Red Hat Automation Controller'
|
||||
ping_version = '1.2.3'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user