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 network plugins.

This commit is contained in:
Matt Clay 2018-03-22 14:00:08 -07:00
parent 1b121fc9e4
commit 4e0ecfd553

View file

@ -335,7 +335,9 @@ class PathMapper(object):
'units': units_path,
}
if path.startswith('lib/ansible/plugins/terminal/'):
if (path.startswith('lib/ansible/plugins/terminal/') or
path.startswith('lib/ansible/plugins/cliconf/') or
path.startswith('lib/ansible/plugins/netconf/')):
if ext == '.py':
if name in self.prefixes and self.prefixes[name] == 'network':
network_target = 'network/%s/' % name