diff options
author | Matt Clay <mclay@redhat.com> | 2019-09-19 02:47:56 +0200 |
---|---|---|
committer | Matt Davis <nitzmahone@users.noreply.github.com> | 2019-09-19 02:47:56 +0200 |
commit | 1c64dba3c9800deabb45b75bfd17b951b66e0eee (patch) | |
tree | 2a4276f7da6f0743e5133808c19972970410ec61 /test/integration/targets/collections_plugin_namespace/aliases | |
parent | update ce_static_route to fix bugs (#62498) (diff) | |
download | ansible-1c64dba3c9800deabb45b75bfd17b951b66e0eee.tar.xz ansible-1c64dba3c9800deabb45b75bfd17b951b66e0eee.zip |
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
Diffstat (limited to 'test/integration/targets/collections_plugin_namespace/aliases')
-rw-r--r-- | test/integration/targets/collections_plugin_namespace/aliases | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/targets/collections_plugin_namespace/aliases b/test/integration/targets/collections_plugin_namespace/aliases new file mode 100644 index 0000000000..54ea5a3b07 --- /dev/null +++ b/test/integration/targets/collections_plugin_namespace/aliases @@ -0,0 +1,2 @@ +shippable/posix/group1 +skip/python2.6 |