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

Fix ansible-test handling of deleted test targets.

This commit is contained in:
Matt Clay 2017-02-17 10:50:36 -08:00
parent 8716a5bc67
commit 1ce2ea0b6c

View file

@ -322,6 +322,9 @@ class PathMapper(object):
return minimal
if path.startswith('test/integration/targets/'):
if not os.path.exists(path):
return minimal
target = self.integration_targets_by_name[path.split('/')[3]]
if 'hidden/' in target.aliases: