updated ansible-test integration to skip any files in test/integration/targets/ that aren't directories.

Fixes #26007
This commit is contained in:
David Newswanger 2017-06-22 09:11:04 -04:00 committed by Matt Clay
parent 26fec4f107
commit b2d88f8b73

View file

@ -254,7 +254,8 @@ def walk_integration_targets():
prefixes = load_integration_prefixes()
for path in paths:
yield IntegrationTarget(path, modules, prefixes)
if os.path.isdir(path):
yield IntegrationTarget(path, modules, prefixes)
def load_integration_prefixes():