mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
Multiple ansible-test fixes. (#38247)
* Add ansible-test integration --allow-root option. * Fix destructive target override. * Fix bad type hint SanityResult -> TestResult. * Fix skip/python3 filtering with --docker option.
This commit is contained in:
parent
f37a44430f
commit
a5cbc0a2c8
15 changed files with 32 additions and 25 deletions
|
@ -23,7 +23,7 @@ class SanityDocsTest(SanitySingleVersion):
|
|||
"""
|
||||
:type args: SanityConfig
|
||||
:type targets: SanityTargets
|
||||
:rtype: SanityResult
|
||||
:rtype: TestResult
|
||||
"""
|
||||
sanity_dir = 'docs/docsite/rst/dev_guide/testing/sanity'
|
||||
sanity_docs = set(part[0] for part in (os.path.splitext(name) for name in os.listdir(sanity_dir)) if part[1] == '.rst')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue