mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -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
|
@ -220,7 +220,7 @@ class SanityCodeSmellTest(SanityTest):
|
|||
"""
|
||||
:type args: SanityConfig
|
||||
:type targets: SanityTargets
|
||||
:rtype: SanityResult
|
||||
:rtype: TestResult
|
||||
"""
|
||||
if self.path.endswith('.py'):
|
||||
cmd = [args.python_executable, self.path]
|
||||
|
@ -327,7 +327,7 @@ class SanitySingleVersion(SanityFunc):
|
|||
"""
|
||||
:type args: SanityConfig
|
||||
:type targets: SanityTargets
|
||||
:rtype: SanityResult
|
||||
:rtype: TestResult
|
||||
"""
|
||||
pass
|
||||
|
||||
|
@ -340,7 +340,7 @@ class SanityMultipleVersion(SanityFunc):
|
|||
:type args: SanityConfig
|
||||
:type targets: SanityTargets
|
||||
:type python_version: str
|
||||
:rtype: SanityResult
|
||||
:rtype: TestResult
|
||||
"""
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue