Skip sanity tests that don't apply to bundled code

* add distro to pep8 skip tests
* Skip no-assert test for distro
* Add bundled distro to the empty-init skip list
This commit is contained in:
Adrian Likins 2018-02-21 12:31:41 -05:00 committed by Toshio Kuratomi
parent e872811b8d
commit be65d9cfe5
3 changed files with 7 additions and 1 deletions

View file

@ -12,6 +12,7 @@ def main():
skip = set([
'test/sanity/code-smell/%s' % os.path.basename(__file__),
'lib/ansible/module_utils/compat/ipaddress.py',
'lib/ansible/module_utils/distro/_distro.py',
])
for path in sys.argv[1:] or sys.stdin.read().splitlines():