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/units/parsing
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
..
utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
vault Cyptography pr 20566 rebase (#25560) 2017-06-27 06:00:15 -07:00
yaml Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_dataloader.py fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729) 2017-07-20 10:26:13 -04:00
test_metadata.py metadata and doc generator optimization and fixes 2017-07-04 01:12:43 -07:00
test_mod_args.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_splitter.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00
test_unquote.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00