ansible/test/units/plugins
Harm Geerts 9bd70045c9
Fix BaseFileCacheModule#keys to respect prefix (#72789)
* Fix BaseFileCacheModule#keys to respect prefix

Change:
- Previously BaseFileCacheModule#keys would return keys with the cache
  prefix. These keys are impossible to retrieve from the cache without
  removing the prefix or using the cache without a prefix.
  Now it removes the prefix from the key and only returns keys that
  share the same prefix as the cache.

Test Plan:
- New unit tests

* Add explicit BaseFileCacheModule#keys test

Test that files that do not match the cache prefix are ignored.
Test that the prefix is removed from the cache key.
2021-04-30 15:28:28 -04:00
..
action [become] Add Solaris chmod ACL fallback 2021-04-19 20:28:57 -05:00
become
cache Fix BaseFileCacheModule#keys to respect prefix (#72789) 2021-04-30 15:28:28 -04:00
callback Fix missing delegate display (#74370) 2021-04-28 13:24:38 -04:00
connection paramiko_ssh - mark connection as connected when successful (#74459) 2021-04-29 15:11:02 -04:00
filter
inventory constructed - Add keyed_groups suboptions 'default_value' and 'trailing_separator' (#74005) 2021-04-13 11:59:50 -04:00
loader_fixtures
lookup All lookups ported to config system (#74108) 2021-04-13 15:52:42 -04:00
shell
strategy
__init__.py
test_plugins.py