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/plugins
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>
6 years ago
..
action become - stop using play context in more places (#62373) 6 years ago
become Split test_play_context_make_become_cmd into files (#68026) 6 years ago
cache Clean up unit tests to assist with migration. (#67875) 6 years ago
callback Replace TestCase.assertEquals with TestCase.assertEqual. 6 years ago
cliconf Unit tests: remove unused imports (#59812) 7 years ago
connection new connection plugin aws_ssm (#49652) 6 years ago
filter Clean up unit tests to assist with migration. (#67875) 6 years ago
httpapi fix all modules to be able to get parameter with value false (very important fix) (#65040) 6 years ago
inventory Clean up unit tests to assist with migration. (#67875) 6 years ago
loader_fixtures Don't cache duplicate plugin names (#34420) 8 years ago
lookup Remove `with` statement for pytest-mock unit tests 6 years ago
shell Fix UNC path support in the powershell shell plugin (#66604) 6 years ago
strategy Clean up unit tests to assist with migration. (#67875) 6 years ago
terminal Remove empty setUp/tearDown/tearDownClass methods in test classes. 6 years ago
vars Add empty-init code-smell script. (#18406) 9 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_plugins.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 6 years ago