ansible/test/units/plugins
Harm Geerts 9bd70045c9
Fix BaseFileCacheModule#keys to respect prefix ()
* 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 Migrated to community.general 2020-03-23 11:14:21 -05:00
cache Fix BaseFileCacheModule#keys to respect prefix () 2021-04-30 15:28:28 -04:00
callback Fix missing delegate display () 2021-04-28 13:24:38 -04:00
connection paramiko_ssh - mark connection as connected when successful () 2021-04-29 15:11:02 -04:00
filter Revert "Add duplicated set filter and documentation ()" () 2021-03-27 20:28:28 -05:00
inventory constructed - Add keyed_groups suboptions 'default_value' and 'trailing_separator' () 2021-04-13 11:59:50 -04:00
loader_fixtures Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
lookup All lookups ported to config system () 2021-04-13 15:52:42 -04:00
shell powershell - fix nested CLIXML parser () 2020-08-26 07:06:19 +10:00
strategy Temporarily disable strategy units () 2021-03-26 19:10:00 -07:00
__init__.py
test_plugins.py plugin loader: return collection name; ansible-doc: handle ansible.builtin correctly () 2020-07-11 00:24:08 +02:00