mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 15:21:25 -07:00
Support comments in ansible-test flat files.
This commit is contained in:
parent
cb4bf04be6
commit
5a3000af19
13 changed files with 135 additions and 96 deletions
|
@ -17,6 +17,7 @@ from lib.util import (
|
|||
SubprocessError,
|
||||
display,
|
||||
intercept_command,
|
||||
read_lines_without_comments,
|
||||
)
|
||||
|
||||
from lib.ansible_util import (
|
||||
|
@ -37,8 +38,8 @@ class AnsibleDocTest(SanityMultipleVersion):
|
|||
:type python_version: str
|
||||
:rtype: TestResult
|
||||
"""
|
||||
with open('test/sanity/ansible-doc/skip.txt', 'r') as skip_fd:
|
||||
skip_modules = set(skip_fd.read().splitlines())
|
||||
skip_file = 'test/sanity/ansible-doc/skip.txt'
|
||||
skip_modules = set(read_lines_without_comments(skip_file, remove_blank_lines=True))
|
||||
|
||||
plugin_type_blacklist = set([
|
||||
# not supported by ansible-doc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue