diff --git a/test/lib/ansible_test/_data/sanity/code-smell/empty-init.json b/test/lib/ansible_test/_data/sanity/code-smell/empty-init.json index 7ca56a9d5b4..9835f9b6c88 100644 --- a/test/lib/ansible_test/_data/sanity/code-smell/empty-init.json +++ b/test/lib/ansible_test/_data/sanity/code-smell/empty-init.json @@ -5,7 +5,7 @@ "plugins/modules/", "plugins/module_utils/", "test/units/", - "test/unit/" + "tests/unit/" ], "files": [ "__init__.py" diff --git a/test/lib/ansible_test/_data/sanity/code-smell/shebang.py b/test/lib/ansible_test/_data/sanity/code-smell/shebang.py index 48d35520475..4cd1d3e5d8b 100755 --- a/test/lib/ansible_test/_data/sanity/code-smell/shebang.py +++ b/test/lib/ansible_test/_data/sanity/code-smell/shebang.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 (