ansible/test
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
..
ansible_test
integration [ansible-test] Add Fedora 34, update Fedora 33 (#74506) 2021-04-30 11:35:12 -05:00
lib/ansible_test [ansible-test] Add Fedora 34, update Fedora 33 (#74506) 2021-04-30 11:35:12 -05:00
sanity Remove obsolete Shippable specific scripts. 2021-04-27 17:11:09 -07:00
support Overhaul ansible-test container management. 2021-04-12 12:40:36 -07:00
units Fix BaseFileCacheModule#keys to respect prefix (#72789) 2021-04-30 15:28:28 -04:00
utils/shippable Remove obsolete Shippable specific scripts. 2021-04-27 17:11:09 -07:00