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/units/plugins
Sloane Hertel 86b86398f0
add ansible_name/ansible_aliases attrs to plugin objects (#78700)
*  new _fqcn attribute to plugin objects
* unbreak plugins in subdirs
* Fix inadventent changes to _load_name and use existing vars
* add plugin aliases and name property, and replace plugin._load_name where incorrect
* Fix listing plugin names

Fix listing legacy and builtin together
test deprecated plugin documentation
fix doc extensions
remove sometimes inaccurate _load_name handling from plugin.name

* Add tests for REJECT_EXTS and doc extensions

Fix unpredictable collection redirects so non-fqcns in the redirect list are guaranteed to be legacy (instead of determined by the collections keyword)

Move aliases and name properties to _update_object so all plugin types, including doc fragments, can use them

* make legacy plugin names internally consistent
* rename attributes to ansible_name and ansible_aliases
2 years ago
..
action Use unittest.mock instead of mock. (#77883) 2 years ago
become better handling of sudo flag replacement (#76389) 3 years ago
cache Use unittest.mock instead of mock. (#77883) 2 years ago
callback Use unittest.mock instead of mock. (#77883) 2 years ago
connection Use unittest.mock instead of mock. (#77883) 2 years ago
filter Require Jinja2 3.0.0 (#75881) 3 years ago
inventory Use unittest.mock instead of mock. (#77883) 2 years ago
loader_fixtures Clean up unit test boilerplate. 4 years ago
lookup Use unittest.mock instead of mock. (#77883) 2 years ago
shell powershell - fix nested CLIXML parser (#71412) 4 years ago
strategy Move handler processing into new PlayIterator state (#77955) 2 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_plugins.py add ansible_name/ansible_aliases attrs to plugin objects (#78700) 2 years ago