ansible/test/units
Brian Coca 5f6db0e164 preliminary privlege escalation unification + pbrun
- become constants inherit existing sudo/su ones
- become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group
- changed method signatures as privlege escalation is collapsed to become
- added tests for su and become, diabled su for lack of support in local.py
- updated playbook,play and task objects to become
- added become to runner
- added whoami test for become/sudo/su
- added home override dir for plugins
- removed useless method from ask pass
- forced become pass to always be string also uses to_bytes
- fixed fakerunner for tests
- corrected reference in synchronize action plugin
- added pfexec (needs testing)
- removed unused sudo/su in runner init
- removed deprecated info
- updated pe tests to allow to run under sudo and not need root
- normalized become options into a funciton to avoid duplication and inconsistencies
- pushed suppored list to connection classs property
- updated all connection plugins to latest 'become' pe

- includes fixes from feedback (including typos)
- added draft docs
- stub of become_exe, leaving for future v2 fixes
2015-03-10 18:42:36 -04:00
..
inventory_test_data Add stub tests for module args parsing. 2014-10-07 17:00:01 -04:00
module_tests Docker test does not require the mock module 2014-11-14 08:59:36 -08:00
vault_test_data Make VaultEditor Tests compatible with FIPS mode 2014-11-12 12:05:25 -08:00
ansible.cfg Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
README.md Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
TestConstants.py Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
TestFilters.py rearranged math filters 2015-02-18 20:03:05 -05:00
TestInventory.py Merge branch 'svg_and_inventory_refactor' into devel 2014-07-10 14:43:07 -05:00
TestModules.py Update module test code to avoid pycs (that are not used) 2014-09-26 10:57:12 -04:00
TestModuleUtilsBasic.py Obfuscate passwords in more places where it is displayed 2015-02-09 10:13:13 -08:00
TestModuleUtilsDatabase.py Exception message changes 2014-11-25 02:36:38 -08:00
TestPlayVarsFiles.py preliminary privlege escalation unification + pbrun 2015-03-10 18:42:36 -04:00
TestSynchronize.py preliminary privlege escalation unification + pbrun 2015-03-10 18:42:36 -04:00
TestUtils.py preliminary privlege escalation unification + pbrun 2015-03-10 18:42:36 -04:00
TestUtilsStringFunctions.py Unit tests for ansible.utils 2014-03-14 10:38:33 -05:00
TestVault.py Skip some md5 related unit tests when running in fips mode 2014-11-12 11:47:11 -08:00
TestVaultEditor.py Make VaultEditor Tests compatible with FIPS mode 2014-11-12 12:05:25 -08:00

Unit tests

Tests at code level. Should be concise and to the point, and organized by subject.