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
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.
3 years ago
..
_vendor transparent downstream vendoring (#69850) 4 years ago
ansible_test Overhaul ansible-test container management. 3 years ago
cli Clarify CLI version number as core version (#72287) 3 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Provide better decryption errors for single vault values (#72362) 4 years ago
errors Fix YAML error message when error is at the end of the file (#73241) 3 years ago
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 3 years ago
galaxy add --offline option to galaxy collection verify (#74040) 3 years ago
inventory Clean up unit test boilerplate. 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock only add data when there is data to add (#54559) 3 years ago
module_utils Remove deprecated `common.removed` module_util. 3 years ago
modules async_wrapper more info on end (#74199) 3 years ago
parsing vault: Read stdin data as binary on python3 (#52229) 4 years ago
playbook [playbook/play.py] Increase error test coverage (#74217) 3 years ago
plugins Fix BaseFileCacheModule#keys to respect prefix (#72789) 3 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 5 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils defend against bad or missing crypt (#74304) 3 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 4 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