mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix ansible-test handling of network plugins.
This commit is contained in:
@@ -335,7 +335,9 @@ class PathMapper(object):
|
|||||||
'units': units_path,
|
'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 ext == '.py':
|
||||||
if name in self.prefixes and self.prefixes[name] == 'network':
|
if name in self.prefixes and self.prefixes[name] == 'network':
|
||||||
network_target = 'network/%s/' % name
|
network_target = 'network/%s/' % name
|
||||||
|
|||||||
Reference in New Issue
Block a user