Fix paths in sanity tests.
This commit is contained in:
parent
4879cf8fff
commit
ed46f83905
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
"plugins/modules/",
|
||||
"plugins/module_utils/",
|
||||
"test/units/",
|
||||
"test/unit/"
|
||||
"tests/unit/"
|
||||
],
|
||||
"files": [
|
||||
"__init__.py"
|
||||
|
|
|
@ -74,7 +74,7 @@ def main():
|
|||
print('%s:%d:%d: should not have a shebang' % (path, 0, 0))
|
||||
|
||||
continue
|
||||
elif path.startswith('test/integration/targets/'):
|
||||
elif path.startswith('test/integration/targets/') or path.startswith('tests/integration/targets/'):
|
||||
is_integration = True
|
||||
|
||||
if dirname.endswith('/library') or '/plugins/modules' in dirname or dirname in (
|
||||
|
|
Loading…
Reference in a new issue