You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/collections_plugin_namespace
Matt Clay b1ba759862 Fix plugin names for collection plugins. (#60317)
* Fix plugin names for collection plugins.

Add an integration test to verify plugin __name__ is correct for collection plugins.

* Fix collection loader PEP 302 compliance.

The `find_module` function now returns `None` if the module cannot be found. Previously it would return `self` for modules which did not exist.

Returning a loader from `find_module` which cannot find the module will result in import errors on Python 2.x when using implicit relative imports.

* add changelog

* sanity/units/merge fixes

(cherry picked from commit 1c64dba3c9)
5 years ago
..
collection_root/ansible_collections/my_ns/my_col Fix plugin names for collection plugins. (#60317) 5 years ago
aliases Fix plugin names for collection plugins. (#60317) 5 years ago
runme.sh Fix plugin names for collection plugins. (#60317) 5 years ago
test.yml Fix plugin names for collection plugins. (#60317) 5 years ago