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
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
..
_vendor Use unittest.mock instead of mock. (#77883) 2 years ago
ansible_test Avoid deprecated method in unit tests. 2 years ago
cli refactor and fixes for doc parsing (#77719) 2 years ago
compat Remove unit test Python 2.6 compat. (#78369) 2 years ago
config Yolo (#77554) 2 years ago
errors Clean up unit tests. (#78498) 2 years ago
executor Replace get_persistent_connection_options in task_executor with get_options (#74446) 2 years ago
galaxy Relax minimal config to enable manifest functionality (#78574) 2 years ago
inventory Fix pytest collection during test_host partial run 2 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Use unittest.mock instead of mock. (#77883) 2 years ago
module_utils uri: added use_netrc argument to allow ignoring netrc (#74397) (#78569) 2 years ago
modules Prefer unittest.mock over mock. (#77886) 2 years ago
parsing Remove unit test pytz requirement. (#78368) 2 years ago
playbook Use classproperty to access field attributes of a class (#78180) 2 years ago
plugins add ansible_name/ansible_aliases attrs to plugin objects (#78700) 2 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 5 years ago
template Use unittest.mock instead of mock. (#77883) 2 years ago
utils Skip test if no there are no problematic chars for wcswidth (#78645) 2 years ago
vars Use unittest.mock instead of mock. (#77883) 2 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Update unit test controller requirements. (#78376) 2 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago
test_no_tty.py ansible-test - Fix subprocess management. (#77641) 2 years ago