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/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
5 years ago
..
role Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_attribute.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_base.py Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
test_block.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
test_collectionsearch.py Force collections to be static (#68723) 5 years ago
test_conditional.py conditional: fix direct boolean "shortcut" (#47941) 6 years ago
test_helpers.py Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
test_included_file.py Check if task file is specified for import_tasks (#57572) 5 years ago
test_play.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
test_play_context.py Split test_play_context_make_become_cmd into files (#68026) 5 years ago
test_playbook.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
test_taggable.py Allow tags to be templated from a variable (#49833) 6 years ago
test_task.py Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago