1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/plugins
Tobias Wolf c23b11d212 [Inventory] Cache the result of enumerating groups and host names
for `VariableManager._get_magic_variables()`.

This saves a lot of time re-iterating the nearly always constant global
list of groups and their members.

Generate once and cache, and invalidate cache in case `add_host:` or
`group_by:` are used.
2016-09-01 06:19:49 -05:00
..
action Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
cache Fixed import typo for memcache module in tests. 2015-12-19 00:08:49 -08:00
callback Squashed commit of the following: 2015-12-29 11:40:18 -05:00
connections Get the ssh plugin working with python3 (#17234) 2016-08-25 10:57:55 -07:00
filter Reorganizing plugin unit tests and adding start of strategy tests (v2) 2015-05-18 17:26:59 -07:00
inventory Reorganizing plugin unit tests and adding start of strategy tests (v2) 2015-05-18 17:26:59 -07:00
lookup Refactor the parameter splitting in ini lookup to handle more path formats (#16477) 2016-06-28 13:24:57 -04:00
shell Reorganizing plugin unit tests and adding start of strategy tests (v2) 2015-05-18 17:26:59 -07:00
strategies [Inventory] Cache the result of enumerating groups and host names 2016-09-01 06:19:49 -05:00
vars Reorganizing plugin unit tests and adding start of strategy tests (v2) 2015-05-18 17:26:59 -07:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
test_plugins.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00