mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fix ansible-test handling of deleted test targets.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user