ansible/test/units/playbook
David Shrewsbury 18a66e291d
Force collections to be static (#68723)
* Force collections to be static

Templating of collection names does not work at all. Force them to
be static so that a warning is generated for the user.

* Add collectionsearch unit test and fix for reviews

New unit test validates the new _load_collections() code and moves
the new check to the end of the method.

* Change unit test to pytest

* Adjust unit test to use capsys instead of monkeypatch

* Fix pep8 error

* Add changelog fragment

Closes #68704
2020-04-13 11:53:05 -05:00
..
role Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
test_attribute.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_base.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_block.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
test_collectionsearch.py Force collections to be static (#68723) 2020-04-13 11:53:05 -05:00
test_conditional.py conditional: fix direct boolean "shortcut" (#47941) 2018-11-07 21:33:54 +01:00
test_helpers.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_included_file.py Check if task file is specified for import_tasks (#57572) 2019-12-24 10:26:32 +05:30
test_play.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
test_play_context.py Split test_play_context_make_become_cmd into files (#68026) 2020-03-04 22:26:04 -08:00
test_playbook.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
test_taggable.py Allow tags to be templated from a variable (#49833) 2018-12-17 15:40:26 -06:00
test_task.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00