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
Pilou 556a1daa33 fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729)
* add unit test: nested dynamic includes

* nested dynamic includes: avoid AnsibleFileNotFound error

Error was:
Unable to retrieve file contents
Could not find or access 'include2.yml'

Before 8f758204cf, at the end of
'path_dwim_relative' method, the 'search' variable contained amongst
others paths:
'/tmp/roles/testrole/tasks/tasks/included.yml' and
'/tmp/roles/testrole/tasks/included.yml'.
The commit mentioned before removed the last one despite the method
docstrings specify 'with or without explicitly named dirname subdirs'.

* add integration test: nested includes
2017-07-20 10:26:13 -04:00
..
compile Docs how to test (2nd) (#24094) 2017-04-28 09:08:26 +01:00
integration fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729) 2017-07-20 10:26:13 -04:00
results Create bot friendly sanity output. (#22381) 2017-03-07 14:59:50 -08:00
runner Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
sanity Promulgate house's fix for docker_volume to docker_secret 2017-07-19 13:20:47 -07:00
units fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729) 2017-07-20 10:26:13 -04:00
utils Optimize running of CI cloud integration tests. 2017-07-14 22:28:14 -07:00