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
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>
5 years ago
..
cli Specify display width and no color in test_execute_list_collection_no_valid_paths (#67680) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix inline vaults for plugins in ensure_type (#67492) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Try to load action plugin from the same collection as the module (#66701) 5 years ago
galaxy ansible-galaxy - optimise some paths and use fake galaxy int tests (#67685) 5 years ago
inventory Clean up unit tests to assist with migration. (#67875) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
module_utils Unit test cleanup to assist with migration. (#67920) 5 years ago
modules Unit test cleanup to assist with migration. (#67920) 5 years ago
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
playbook Split test_play_context_make_become_cmd into files (#68026) 5 years ago
plugins Split test_play_context_make_become_cmd into files (#68026) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils combine filter: fine list handling (option b) (#57894) 5 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Fix ansible-test collections requirements installation. (#62181) 5 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago