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:
parent
8716a5bc67
commit
1ce2ea0b6c
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue