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
Matt Clay 46fdbbdd18
Split test_play_context_make_become_cmd into files (#68026)
* Split test_play_context_make_become_cmd into files

For NWO migration. Split the become module assertions into distinct test
files and functions. For now, this is done naively - there is probably
room to abstract these tests out and remove some of the duplication
later on.

Signed-off-by: Rick Elrod <rick@elrod.me>

* use default_exe variable instead of hardcoding /bin/bash

Signed-off-by: Rick Elrod <rick@elrod.me>

* Move become plugin tests to their proper directory and rename them accordingly

Signed-off-by: Rick Elrod <rick@elrod.me>

* Fix up fixtures and imports.

* Remove stray file.

Co-authored-by: Matt Clay <matt@mystile.com>
4 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_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) 4 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