From b2d88f8b73c0d0fd51fc04559df11ce0ec409431 Mon Sep 17 00:00:00 2001 From: David Newswanger Date: Thu, 22 Jun 2017 09:11:04 -0400 Subject: [PATCH] updated ansible-test integration to skip any files in test/integration/targets/ that aren't directories. Fixes #26007 --- test/runner/lib/target.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/runner/lib/target.py b/test/runner/lib/target.py index fa0b0cdf92..b1a86ac3dd 100644 --- a/test/runner/lib/target.py +++ b/test/runner/lib/target.py @@ -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():