1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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,6 +254,7 @@ def walk_integration_targets():
prefixes = load_integration_prefixes() prefixes = load_integration_prefixes()
for path in paths: for path in paths:
if os.path.isdir(path):
yield IntegrationTarget(path, modules, prefixes) yield IntegrationTarget(path, modules, prefixes)